static int OnLateUpdate(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); BehaviorDesigner.Runtime.Tasks.Task obj = (BehaviorDesigner.Runtime.Tasks.Task)ToLua.CheckObject <BehaviorDesigner.Runtime.Tasks.Task>(L, 1); obj.OnLateUpdate(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }