OnLockStateChanged - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
Event called when the lock on this object's state changes. (Locked, unlocked, level changed, etc)
Syntax[edit | edit source]
Event OnLockStateChanged()
Parameters[edit | edit source]
None.
Examples[edit | edit source]
Event OnLockStateChanged()
if IsLocked()
Debug.Trace("We are locked!")
endIf
endEvent