Beispiel #1
0
 public AmpYear()
 {
     Utilities.Log("AmpYear Constructor");
     Instance              = this;
     AYsettings            = new AYSettings();
     AYgameSettings        = new AYGameSettings();
     _globalConfigFilename = Path.Combine(AssemblyFolder, "PluginData/Config.cfg").Replace("\\", "/");
     Utilities.Log("globalConfigFilename = " + _globalConfigFilename);
 }
Beispiel #2
0
 public void Awake()
 {
     _aYsettings         = AmpYear.Instance.AYsettings;
     AYSCMenuAppLToolBar = new AppLauncherToolBar(Localizer.Format("#autoLOC_AmpYear_1000001"), Localizer.Format("#autoLOC_AmpYear_1000001"), //#autoLOC_AmpYear_1000001 = AmpYear
                                                  Textures.PathToolbarIconsPath + "/AYGreenOffTB",
                                                  ApplicationLauncher.AppScenes.SPACECENTER,
                                                  (Texture)Textures.IconGreenOn, (Texture)Textures.IconGreenOff,
                                                  GameScenes.SPACECENTER);
     Utilities.Log_Debug("AYSCController Awake complete");
 }