コード例 #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
ファイル: UI_Base.cs プロジェクト: U3DC/MFrameworkCore
        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));
 }