OnUnload - ObjectReference

Member of: ObjectReference Script

Event called when the object's 3d has been unloaded OR the object leaves the loaded area.

SyntaxEdit

Event OnUnload()

ParametersEdit

None.

ExamplesEdit

Event OnUnload()
  Debug.Trace("This object has been unloaded, animations can't be played on it anymore")
endEvent

NotesEdit

  • When this event is received any calls to the object that manipulate it may fail.

See AlsoEdit