Hi everyone, currently I’m taking the Unity Turn Based strategy course, section Actions and UI
In one of the lectures we write the ActionBusyUI script, and there we are subscribing to the event on the UnitActionSystem class so we are listening whenever the value of isBusy changes so we know if we need to show or hide the ActionBusyUI but… since the game object is disabled how is the script still running?
I had issues in the past with this kind of behavior, whenever I disabled a game object my code inside the Update method no longer worked.
So that made me wonder, what exactly are we disabling when using gameObject.setActive(false)?
Is it just the MonoBehavior functions? Just the Update functions?
Thanks!