예제 #1
0
 public ActionData(UI_Action ui, Action action, Action start = default(Action), Action end = default(Action))
 {
     this.UI     = ui;
     this.action = action;
     this.start  = start;
     this.end    = end;
 }
예제 #2
0
        public virtual void OnInitialize()
        {
            if (uiAction == null)
            {
                uiAction = GetComponent <UI_Action>();
            }

            UIManager.Instance.AddUI(this);
        }
예제 #3
0
 public static void AddAction(UI_Action ui, Action action, Action start = default(Action), Action end = default(Action))
 {
     Instance.actionManager.AddAction(ui, action, start, end);
 }
예제 #4
0
 public void AddAction(UI_Action ui, Action action, Action start = default(Action), Action end = default(Action))
 {
     Actions.Enqueue(new ActionData(ui, action, start, end));
 }