OnDisable
7/14/25Less than 1 minute
LuaBehaviour.OnDisable()
This function is called when the behaviour becomes disabled.
Usage
local script = LUA.script;
--- OnDisable message from LuaBehaviour
function script.OnDisable()
-- your code here
end