示例#1
0
 void Awake()
 {
     this.Log("Awake");
     window = new BuildAidWindow(TacLifeSupport.Instance.globalSettings);
     GameEvents.onGUIApplicationLauncherReady.Add(OnGUIAppLauncherReady);
     OnGUIAppLauncherReady();
 }
 void Awake()
 {
     this.Log("Awake");
     button = new ButtonWrapper(new Rect(Screen.width * 0.275f, 0, 32, 32), "ThunderAerospace/TacLifeSupport/Textures/greenIcon",
                                "LS", "TAC Life Support Build Aid", OnIconClicked, "EditorIcon");
     window = new BuildAidWindow(TacLifeSupport.Instance.globalSettings);
 }
示例#3
0
 void Awake()
 {
     this.Log("Awake");
     TACMenuAppLToolBar = new AppLauncherToolBar("TACLifeSupport", "TAC Life Support",
                                                 Textures.PathToolbarIconsPath + "/TACgreenIconTB",
                                                 ApplicationLauncher.AppScenes.SPH | ApplicationLauncher.AppScenes.VAB,
                                                 (Texture)Textures.GrnApplauncherIcon, (Texture)Textures.GrnApplauncherIcon,
                                                 GameScenes.EDITOR);
     window = new BuildAidWindow(TACMenuAppLToolBar, TacStartOnce.Instance.globalSettings);
 }