LuaBehaviour.OnEnable()
This function is called when the object becomes enabled and active.
Usage
local script = LUA.script;
--- OnEnable message from LuaBehaviour
function script.OnEnable()
-- your code here
end
This function is called when the object becomes enabled and active.
local script = LUA.script;
--- OnEnable message from LuaBehaviour
function script.OnEnable()
-- your code here
end