Пример #1
0
        public static UIActionCallback DispatchAction(DUIEntity _owner, Action_Request_Type _type)
        {
            iAction _action = m_ActionSet.GetEntity((int)_type);

            _action.Excute(_owner);
            return(_action.OnFinish);
        }
Пример #2
0
 public void Excute(DUIEntity _owner)
 {
     Owner = _owner;
     Owner.Hide();
 }
Пример #3
0
 public void Excute(DUIEntity _owner)
 {
     Owner = _owner;
     Owner.gameObject.SetActive(true);
     Owner.Show();
 }
Пример #4
0
 public void RemoveChild(DUIEntity _child)
 {
     RemoveChild(_child.gameObject.name);
 }
Пример #5
0
 public UIActionRequest(DUIEntity _owner, Action_Request_Type _type, float _during)
 {
     ActionOwner  = _owner;
     ActionType   = _type;
     ActionDuring = _during;
 }
Пример #6
0
 public UIActionRequest(DUIEntity _owner, Action_Request_Type _type)
 {
     ActionOwner  = _owner;
     ActionType   = _type;
     ActionDuring = _owner.AnimationDuring;
 }