It looks like you're new here. If you want to get involved, click one of these buttons!
Hy!
I just started making games in unity, and i want to make a 2dn spawn point for my caracter, and i dont knew how.
Thanks in advance.
Please give some more information that have you added a die system
If yes, Go and add a empty gameobject to the scene and In the same script where you made the die system.
Make a public variable with transform and you can name it spawnPoint
Eg - public Transform spawnPoint;
void Die ()
{
Player.transform.position = spawnPoint.position;
}
That should Do it
Comment again if have any other queries I will try to help :)
Answers
Please give some more information that have you added a die system
If yes, Go and add a empty gameobject to the scene and In the same script where you made the die system.
Make a public variable with transform and you can name it spawnPoint
Eg - public Transform spawnPoint;
void Die ()
{
Player.transform.position = spawnPoint.position;
}
That should Do it
Comment again if have any other queries I will try to help :)