Пример #1
0
        public void ExecAuto(Action callback)
        {
            DialogBoxUIManager uiManger = diabox.GetComponent <DialogBoxUIManager>();

            if (isopen)
            {
                uiManger.Open(time, callback);
            }
            else
            {
                uiManger.Close(time, callback);
            }
        }
Пример #2
0
        public override void Exec()
        {
            DialogBoxUIManager uiManger = diabox.GetComponent <DialogBoxUIManager>();

            if (isopen)
            {
                uiManger.Open(time, new Action(() => { }));
            }
            else
            {
                uiManger.Close(time, new Action(() => { }));
            }
        }