internal ToolbarManager() { Log.trace("ToolbarManager()"); if (Instance == null) { Instance = this; InternalInstance = this; commands_ = new HashSet <Command>(); toolbars = new Dictionary <string, Toolbar>(); } else { Log.warn("ToolbarManager already running, marking this instance as stale"); running = false; } }
internal ToolbarManager() { Log.trace("ToolbarManager()"); if (Instance == null) { Instance = this; InternalInstance = this; GameObject.DontDestroyOnLoad(this); commands_ = new HashSet<Command>(); toolbars = new Dictionary<string, Toolbar>(); UpdateChecker = new UpdateChecker(); loadSettings(ToolbarGameScene.MAINMENU); } else { Log.warn("ToolbarManager already running, marking this instance as stale"); running = false; } }
internal ToolbarManager() { Log.trace("ToolbarManager()"); if (Instance == null) { Instance = this; InternalInstance = this; GameObject.DontDestroyOnLoad(this); commands_ = new HashSet <Command>(); toolbars = new Dictionary <string, Toolbar>(); loadSettings(ToolbarGameScene.MAINMENU); } else { Log.warn("ToolbarManager already running, marking this instance as stale"); running = false; } }