LuaBehaviour.OnTriggerExit(Collider other)
OnTriggerExit is called when the Collider other has stopped touching the trigger.
Parameters:
Name | Type | Description |
---|---|---|
other | Collider | The other Collider involved in this collision. |
Usage
local script = LUA.script;
--- OnTriggerExit message from LuaBehaviour
---@param other Collider
function script.OnTriggerExit(other)
-- your code here
end