I am trying to remove a game object from a scene (not deactivate, completely remove), but i do NOT want to set its reference to null. essentially, i want to un-instantiate a game object. Calling destroy seems to set the reference to null.
Hello.
You have ony 2 options, or destroy, or deactivate.
If you deactivate, reference will still be there, if destroy, as the object is unloaded from memory, reference go to null.
Why you dont want deactivate it ?