Hi, I am adding coins to my game so I decided that it’d be a good idea just to put couple of objects of type Coin in the scene and make them childs of other objects. Every time a player touches them I’d like the Coin object to disappear for, for example, 2 seconds. How do I do that?
Watch this:
Combine it with a simple timer (Time.time) and you are golden :).