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