예제 #1
0
 public ResearchBodies()
 {
     RSTLogWriter.Log("ResearchBodies Constructor");
     Instance       = this;
     APIReady       = false;
     RBgameSettings = new RBGameSettings();
     //globalConfigFilename = Path.Combine(RSTLogWriter.AssemblyFolder, "PluginData/Config.cfg").Replace("\\", "/");
     //RSTLogWriter.Log("globalConfigFilename = " + globalConfigFilename);
 }
예제 #2
0
 public ResearchBodies()
 {
     RSTLogWriter.Log("ResearchBodies Constructor");
     if (Instance != null)
     {
         RSTLogWriter.Log("Instance exists, destroying Usurper");
         Destroy(this);
     }
     Instance       = this;
     APIReady       = false;
     RBgameSettings = new RBGameSettings();
 }