internal static void SurchSystem(this Transform trans, ref ActionGroup system) { if (system == null) { system = trans.GetComponentInParent <ActionGroup>(); } }
public static void RegistGroup(ActionGroup group) { if (!actionGroup.Contains(group)) { group.transform.SetParent(Instence.transform); actionGroup.Add(group); } }
public static void RemoveGroup(ActionGroup group) { if (actionGroup.Contains(group)) { actionGroup.Remove(group); } if (actionGroup.Count == 0) { Clean(); } }
public CommandController(ActionGroup group) { this.group = group; }
public EventTransfer(ActionGroup group) { this.group = group; }