예제 #1
0
        public override void Load()
        {
            Instance    = this;
            SkinManager = new SkinManager();

            UIStateMachine = new UIStateMachine();
            UIStateMachine.Add(new EditorState("Editor"));
            _toolBarState = new BottomToolBarState("ToolbarBottom");
            UIStateMachine.Add(_toolBarState);
            // UIStateMachine.Add(new TestState2("tstate2"));
            UIStateMachine.Add(new ColorChooser("ColorChooser"));
        }
예제 #2
0
 public void AddState(UIState state)
 {
     UIStateMachine.Add(state);
 }