private void ReloadOnDeath(GameObject player)
{
if (SaveSystem.HasSavedGameInSlot(checkpointSaveSlot))
{
SaveSystem.LoadFromSlot(checkpointSaveSlot);
}
else
{
// Show load game menu? Go to main menu? etc. (Add your code)
}
}
}
How can i controll it to respawn at the first/staring point on death? Right now if he dies at the begining he respawns from a save game else where.