Git: 0.2 Contributor Thread

Discuss Daggerfall Unity and Daggerfall Tools for Unity.
Post Reply
User avatar
Nystul
Posts: 1501
Joined: Mon Mar 23, 2015 8:31 am

Re: Git: 0.2 Contributor Thread

Post by Nystul »

ok I think I managed to get it to work with Destroy(), but I had to do some extra stuff:
  • 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)

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: Git: 0.2 Contributor Thread

Post by Interkarma »

Awesome work mate, thank you for going above and beyond so quickly! :)

Post Reply