disappear after time unity code example Example: disappear after time unity Destroy(gameObject, 3); //it will disappear after 3 seconds