2D Toolkit Forum
2D Toolkit => Support => Topic started by: diddykonga on December 20, 2013, 08:49:16 pm
-
Hi, So after i instantiate a couple of Prefabs that have a tk2DSprite on them and them to a List, for some reason if i end play mode, they are still there.
Any help at all would be appreciated :)
http://pastebin.com/Wa9PDgB5
Here is the code for instantiating them.
-
This can't happen, unless your instantiate code is running in the editor - Unity pretty much destroys everything between edit -> play mode. Have you dropped some Debug.Logs / breakpoints in the debugger to see whats going on?
-
Wow just remembered i accidently added the Execute in Edit Mode -_- lol thanks