- Home /
Hiding Texture2D after a sec
hi guys.. i want to hide a texture2d after a seconds using c# in unity but i dont know how to do that can you give me some codes or idea pls pls.. help
Comment
Answer by Dave-Carlile · Jul 02, 2013 at 03:23 PM
Invoke will let you execute code after an elapsed time.
Inside the code executed by Invoke, deactivate the game object you no longer want to display by using SetActive.
Your answer
Follow this Question
Related Questions
Delay "Destroy(gameObject)" 2 Answers
Destroy happens immediately 1 Answer
how do you destroy a texture2d array ? 3 Answers
Spawning Particle Effects From Code Does Nothing 2 Answers
Destroy trigger after a certain time 2 Answers