Пример #1
0
        public static void Save(AiukAppsSetting instance)
        {
            var content = JsonUtility.ToJson(instance);

            File.WriteAllText(EditorPath, content);
            //  覆盖沙盒下的设置文件。
            File.WriteAllText(SandboxPath, content);
        }
Пример #2
0
 /// <summary>
 /// 置空Apps单例。
 /// </summary>
 public static void SetInstanceNull()
 {
     _Instance = null;
 }