コード例 #1
0
 internal static void SurchSystem(this Transform trans, ref ActionGroup system)
 {
     if (system == null)
     {
         system = trans.GetComponentInParent <ActionGroup>();
     }
 }
コード例 #2
0
 public static void RegistGroup(ActionGroup group)
 {
     if (!actionGroup.Contains(group))
     {
         group.transform.SetParent(Instence.transform);
         actionGroup.Add(group);
     }
 }
コード例 #3
0
        public static void RemoveGroup(ActionGroup group)
        {
            if (actionGroup.Contains(group))
            {
                actionGroup.Remove(group);
            }

            if (actionGroup.Count == 0)
            {
                Clean();
            }
        }
コード例 #4
0
 public CommandController(ActionGroup group)
 {
     this.group = group;
 }
コード例 #5
0
 public EventTransfer(ActionGroup group)
 {
     this.group = group;
 }