S
S
Stason4ikRU |2017-05-06 18:07:45
2D
Stason4ikRU |, 2017-05-06 18:07:45

How to respawn an object?

For example, there is a platform if you step on it, it falls and is removed. How can I make it appear again in the same place after a while?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Gaydak, 2017-05-06
@Stason4ikRU

Do not delete the object, but turn off its display (and the collider so as not to get up again) and remembering the starting position, turn it on again by the timer, placing it at the starting coordinates.
If you want a direct code example, then look ahead and read the official tutorials from Unity on how to do basic things.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question