private void OnInited() { _updateFunc = LuaManager.GetFunc <LuaFunction>("Update"); _lateUpdateFunc = LuaManager.GetFunc <LuaFunction>("LateUpdate"); _fixedUpdateFunc = LuaManager.GetFunc <LuaFunction>("FixedUpdate"); _focusFunc = LuaManager.GetFunc <LuaFunction>("OnApplicationFocus"); _pauseFunc = LuaManager.GetFunc <LuaFunction>("OnApplicationPause"); }
private void OnInited() { LuaManager.Init(Assets.assetBundleMode); _updateFunc = LuaManager.GetFunc <LuaFunction>("Update"); _lateUpdateFunc = LuaManager.GetFunc <LuaFunction>("LateUpdate"); _fixedUpdateFunc = LuaManager.GetFunc <LuaFunction>("FixedUpdate"); _focusFunc = LuaManager.GetFunc <LuaFunction>("OnApplicationFocus"); _pauseFunc = LuaManager.GetFunc <LuaFunction>("OnApplicationPause"); }