Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
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);
 }