Question by
danny1111 · Nov 24, 2015 at 08:21 PM ·
gameobjectdestroy
Does the Destroy function make the game object not exist?
In my code, I destroy a cube with the tag "Pick Up". Does this mean that when I print the following line of code (GameObject.FindGameObjectsWithTag("Pick Up").Length), it will equal one less than before or not?
Comment
Answer by OncaLupe · Nov 24, 2015 at 10:14 PM
Actual object destruction is always delayed until after the current Update loop, but will always be done before rendering.
From:
Your answer
Follow this Question
Related Questions
If you want to destroy the game object, please call 'Destroy' on the game object instead. 1 Answer
Destroying object multiple times. 0 Answers
Make an object move from Point A to Point B then back to Point A, and then destroy itself 1 Answer
Keep GameObject destroyed on returning to the scene 1 Answer
How to destroy child of GameObject? 1 Answer