//--------------------------------------------------------------------- public void Update(float elapsed_tm) { if (SoundMgr != null) { SoundMgr.Update(); } if (FTMgr != null) { FTMgr.Update(elapsed_tm); } if (DelayMgr != null) { DelayMgr.Update(elapsed_tm); } if (NetMgr != null) { NetMgr.Update(elapsed_tm); } if (AsyncAssetLoaderMgr != null) { AsyncAssetLoaderMgr.Update(Time.deltaTime); } if (LuaMgr != null) { LuaMgr.Update(elapsed_tm); } if (TimerShaft != null) { TimerShaft.ProcessTimer((ulong)Stopwatch.ElapsedMilliseconds); } if (Input.GetKeyDown(KeyCode.Escape)) { LuaMgr._CSharpCallOnAndroidQuitConfirm(); } }
static int _m_Update(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); AsyncAssetLoaderMgr gen_to_be_invoked = (AsyncAssetLoaderMgr)translator.FastGetCSObj(L, 1); { float _time = (float)LuaAPI.lua_tonumber(L, 2); gen_to_be_invoked.Update(_time); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }