| | |
| | |
|
| | | m_Instance = this;
|
| | |
|
| | | #if !UNITY_EDITOR && !UNITY_WEBGL
|
| | | if (File.Exists(Directory.GetParent(Application.persistentDataPath) + "/Debug") ||
|
| | | LocalSave.GetString("#@#BrancH") != string.Empty)
|
| | | {
|
| | | Debug.unityLogger.logEnabled = true;
|
| | | }
|
| | | else
|
| | | { |
| | | Debug.unityLogger.logEnabled = false;
|
| | | }
|
| | | #else
|
| | | Debug.unityLogger.logEnabled = true;
|
| | | #endif
|
| | | // #if !UNITY_EDITOR && !UNITY_WEBGL
|
| | | // if (File.Exists(Directory.GetParent(Application.persistentDataPath) + "/Debug") ||
|
| | | // LocalSave.GetString("#@#BrancH") != string.Empty)
|
| | | // {
|
| | | // Debug.unityLogger.logEnabled = true;
|
| | | // }
|
| | | // else
|
| | | // { |
| | | // Debug.unityLogger.logEnabled = false;
|
| | | // }
|
| | | // #else
|
| | | // Debug.unityLogger.logEnabled = true;
|
| | | // #endif
|
| | |
|
| | | #if UNITY_EDITOR
|
| | | Application.runInBackground = true;
|