Hi, I want to receive an event when the object that owns the behavior tree is deleted immediately.
For example, OnAwake () adds an event when called.
I want to release the event when the object is deleted immediately.
Can I add the OnDestroy () interface in a similar method to the OnAwake () function?
Please let me know if there is another way.
For example, OnAwake () adds an event when called.
I want to release the event when the object is deleted immediately.
Can I add the OnDestroy () interface in a similar method to the OnAwake () function?
Please let me know if there is another way.