private void UF_DrawPDataInfo() { if (GlobalSettings.UserConfig != null) { GUILayout.Label(PDataManager.UF_GetInstance().ToString()); } }
void Awake() { try{ DontDestroyOnLoad(this); s_GameMaim = this; s_Root = this.gameObject; FrameHandle.UF_AddHandle(Debugger.UF_GetInstance()); //System FrameHandle.UF_AddHandle(MessageSystem.UF_GetInstance()); FrameHandle.UF_AddHandle(UpgradeSystem.UF_GetInstance()); //FrameHandle.UF_AddHandle(NetworkSystem.UF_GetInstance()); FrameHandle.UF_AddHandle(AssetSystem.UF_GetInstance()); FrameHandle.UF_AddHandle(CEntitySystem.UF_GetInstance()); //FrameHandle.UF_AddHandle(LuaFramework.UF_GetInstance()); //manager FrameHandle.UF_AddHandle(PDataManager.UF_GetInstance()); FrameHandle.UF_AddHandle(ShaderManager.UF_GetInstance()); FrameHandle.UF_AddHandle(AudioManager.UF_GetInstance()); FrameHandle.UF_AddHandle(UIManager.UF_GetInstance()); FrameHandle.UF_AddHandle(FXManager.UF_GetInstance()); FrameHandle.UF_AddHandle(NavigateManager.UF_GetInstance()); FrameHandle.UF_AddHandle(MotionManager.UF_GetInstance()); //FrameHandle.UF_AddHandle(PerformActionManager.UF_GetInstance()); FrameHandle.UF_AddHandle(RaycastManager.UF_GetInstance()); FrameHandle.UF_AddHandle(VoiceManager.UF_GetInstance()); FrameHandle.UF_AddHandle(RenderPreviewManager.UF_GetInstance()); FrameHandle.UF_AddHandle(RefObjectManager.UF_GetInstance()); FrameHandle.UF_AddHandle(CheckPointManager.UF_GetInstance()); FrameHandle.UF_AddHandle(SimulationManager.Instance); //setting GTime.FrameRate = 60; GTime.FixedTimeRate = 0.016f; GTime.RunDeltaTime = 0.016f; Screen.sleepTimeout = SleepTimeout.NeverSleep; VendorSDK.UF_Init(); //VestBinder.Bind(); } catch (System.Exception e) { Debugger.UF_Exception(e); } }