Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
        public virtual void OnInitialize()
        {
            if (uiAction == null)
            {
                uiAction = GetComponent <UI_Action>();
            }

            UIManager.Instance.AddUI(this);
        }
Ejemplo n.º 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);
 }
Ejemplo n.º 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));
 }