Skip to main content

LuaBehaviour.OnTriggerExit(Collider other)

OnTriggerExit is called when the Collider other has stopped touching the trigger.

Parameters:

NameTypeDescription
otherColliderThe 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