예제 #1
0
 void Awake()
 {
     if (Instance != null)
     {
         Destroy(this);
         return;
     }
     Instance = this;
     DontDestroyOnLoad(Instance);
     config = loadConfig();
     Debug.Log("ZeroMiniAVC: Awake");
 }
예제 #2
0
 void Awake()
 {
     if (Instance != null)
     {
         Destroy(this);
         return;
     }
     Instance = this;
     DontDestroyOnLoad(Instance);
     configPath = KSPUtil.ApplicationRootPath + "GameData/ZeroMiniAVC/Config.cfg";
     config     = loadConfig();
     Debug.Log("ZeroMiniAVC: Awake");
 }