static int OnReset(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); MySceneManager obj = (MySceneManager)ToLua.CheckObject(L, 1, typeof(MySceneManager)); obj.OnReset(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static public void OnReset() { UpdateManager.GetInstance().OnReset(); GameFacade.GetInstance().OnReset(); mSceneManager.OnReset(); }