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; }
public virtual void OnInitialize() { if (uiAction == null) { uiAction = GetComponent <UI_Action>(); } UIManager.Instance.AddUI(this); }
public static void AddAction(UI_Action ui, Action action, Action start = default(Action), Action end = default(Action)) { Instance.actionManager.AddAction(ui, action, start, end); }
public void AddAction(UI_Action ui, Action action, Action start = default(Action), Action end = default(Action)) { Actions.Enqueue(new ActionData(ui, action, start, end)); }