1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- using System;
- using UnityEngine;
- namespace Seengene.XDKUnityPluginCloud {
- public delegate void OnDebugModeChangeHandler();
- public class XDKConfigs {
- public static event OnDebugModeChangeHandler OnDebugModeChange;
-
-
-
- public static string AuthorizationAPIAddress = "";
-
-
-
- public static string RelocationAPIAddress = "";
-
-
-
- public static string MapId = "";
-
-
-
- public static bool IfRelocationOn = true;
-
-
-
- public static bool IfLogOn = true;
-
-
-
- private static bool m_IfDebugOn = true;
- public static bool IfDebugOn {
- get { return m_IfDebugOn; }
- set {
- m_IfDebugOn = value;
- OnDebugModeChange?.Invoke();
- }
- }
-
-
-
- public static bool IfSaveImages = false;
- public static void SetDefault() {
- AuthorizationAPIAddress = "";
- RelocationAPIAddress = "";
- MapId = "";
- IfRelocationOn = true;
- IfLogOn = true;
- IfDebugOn = false;
- IfSaveImages = false;
- }
- }
- }
|