Hi everyone!
I was coding today morning and I got to a point where I usually, when deactivating objects, i need to act upon then. Like reseting some variables when deactivating an object used for transitions effects between rooms!
What do you think about adding this two events to the event list!?
What good workarounds do you use? (apart from using a custom deactivate function that runs code before actually deactivating... because this way we lose code encapsulation).
I was coding today morning and I got to a point where I usually, when deactivating objects, i need to act upon then. Like reseting some variables when deactivating an object used for transitions effects between rooms!
What do you think about adding this two events to the event list!?
What good workarounds do you use? (apart from using a custom deactivate function that runs code before actually deactivating... because this way we lose code encapsulation).