Beispiel #1
0
 void Awake()
 {
     if (Instance != null)
     {
         Destroy(this);
         return;
     }
     Instance = this;
     DontDestroyOnLoad(Instance);
     config = loadConfig();
     Debug.Log("ZeroMiniAVC: Awake");
 }
 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");
 }