Question by
datekem · May 18, 2017 at 04:47 AM ·
scripting problemdestroydestroyimmediate
Script continues after it has been destroyed
Hi, this is driving me nuts, after some checks i call DestroyImmediate(this) on update function although it's only destroying immediately and it's runing update function again.
How could i truly destroy immediately my script or the update function from running?
I've already tried Destroy and DestroyImmediate with no success.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612122246im_/https://answers.unity.com/themes/thub/images/avi.jpg)