On Destroying
Events
On Destroying is a ProtoFlux node that sends an impulse out of Trigger whenever the node is marked for destruction. This will not preserve Async tasks, as since those create delays they will be destroyed before execution of the task finishes.
Outputs
Trigger (Call)
Sends an Impulse when the node is marked for destruction which may include all the rest of the code, but nothing is destroyed yet.
Examples
-
On Destroying being used to activate a large bit of code without any async tasks that makes an effect.