- after every Destroy(aGameObject) I had to do aGameObject = null - this is necessary so that the handle is invalid immediately
- this is also the case for any GameObjects inside aGameObject (so I had to set the handles to null for all sub-GameObjects)
Git: 0.2 Contributor Thread
- Nystul
- Posts: 1501
- Joined: Mon Mar 23, 2015 8:31 am
Re: Git: 0.2 Contributor Thread
ok I think I managed to get it to work with Destroy(), but I had to do some extra stuff:
- Interkarma
- Posts: 7236
- Joined: Sun Mar 22, 2015 1:51 am
Re: Git: 0.2 Contributor Thread
Awesome work mate, thank you for going above and beyond so quickly!