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
This function is called when the behaviour becomes disabled.
local script = LUA.script;
--- OnDisable message from LuaBehaviour
function script.OnDisable()
-- your code here
end