- Home /
Question by
CrecerelleCrC · Jun 10, 2014 at 11:48 PM ·
c#javascriptgameobject
How to destroy object forever? when i go to another scene and back to first, i want to that object stay destroyed! , Please !!!!
How to destroy object forever? when i go to another scene and back to first, i want to that object stay destroyed! , Please !!!!
Comment
Answer by Jeff-Kesselman · Jun 10, 2014 at 11:50 PM
You can't.
Loading a scene always starts the scene at the beginning.
HOWEVER what you can do is have a static variable that you set in one scene and check in another.