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); }
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); }