Ejemplo n.º 1
0
 public void RemoveGroup(TagGroupBehaiver group)
 {
     if (groupList.Contains(group))
     {
         groupList.Remove(group);
     }
 }
Ejemplo n.º 2
0
        public void RegistGroup(TagGroupBehaiver group)
        {
            currentGroup = group;
            if (!groupList.Contains(group))
            {
                groupList.Add(group);

                if (waitDic.ContainsKey(group.GroupKey))
                {
                    var action = waitDic[group.GroupKey];
                    if (action != null)
                    {
                        action.Invoke(group);
                    }
                }
            }
        }