OnUnload - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
Event called when the object's 3d has been unloaded OR the object leaves the loaded area.
Syntax[edit | edit source]
Event OnUnload()
Parameters[edit | edit source]
None.
Examples[edit | edit source]
Event OnUnload()
Debug.Trace("This object has been unloaded, animations can't be played on it anymore")
endEvent
Notes[edit | edit source]
- When this event is received any calls to the object that manipulate it may fail.