Other
Respawning an item
Hi, so I need to make it so when you pick up an item it respawns after 5 seconds. I was able to make it pick up but not respawn. Thanks for the help!
What have you tried so far? Give us an actual problem that we can assist on. Unity Answers is not for requests.
I gave you the problem, I need to know how to make an item respawn after 5 seconds.
That's a request. Atleast try and write something yourself.
Dude it says I need to make my character pick up and then respawn a item after 5 seconds. I then went on to say that I managed to get it to pick up but not respawn. That sounds pretty obvious to me.
If you're interested, you can read the rules for Unity Answers, in the FAQ. And also the sticky at the top of the newer Help Room.
Answer by dishant27 · Feb 24, 2018 at 05:39 PM
Place this line in method which you used to pick up: Invoke("Respawn",5f);
And create a method to respawn:
void Respawn()
{
//Your spawning code
}
Follow this Question
Related Questions
C# Respawn and Score Problem 1 Answer
Respawn not working past 2nd respawn 1 Answer
How do i put "Wasted!" after respawn? 0 Answers
Need Help with a Level Reloading Script (c#) 1 Answer
i need help with enemy respawn 0 Answers