You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
// //#if UNITY_EDITOR || DEVELOPMENT_BUILD
|
|
|
|
|
|
|
|
|
|
// using UnityEngine;
|
|
|
|
|
// using IngameDebugConsole;
|
|
|
|
|
|
|
|
|
|
// public static class LogsSetting
|
|
|
|
|
// {
|
|
|
|
|
// [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterSceneLoad)]
|
|
|
|
|
// private static void OnAfterSceneLoadRuntimeMethod()
|
|
|
|
|
// {
|
|
|
|
|
// // if (SDKSettings.Instance.DeviceConsole)
|
|
|
|
|
// // {
|
|
|
|
|
// // FPSLabel fpsLabel = GameObject.FindObjectOfType<FPSLabel>();
|
|
|
|
|
// DebugLogManager InGameLogs = GameObject.FindObjectOfType<DebugLogManager>();
|
|
|
|
|
// // if (fpsLabel == null)
|
|
|
|
|
// // {
|
|
|
|
|
// // GameObject fpsLabelGO = new GameObject("FPS Label");
|
|
|
|
|
// // fpsLabelGO.AddComponent<FPSLabel>();
|
|
|
|
|
// // Application.targetFrameRate = 60;
|
|
|
|
|
// // }
|
|
|
|
|
// if (InGameLogs == null)
|
|
|
|
|
// {
|
|
|
|
|
// GameObject obj=Resources.Load<GameObject>("IngameDebugConsole");
|
|
|
|
|
// GameObject.Instantiate(obj);
|
|
|
|
|
// }
|
|
|
|
|
// // }
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// //#endif
|