protected virtual void GroupSystemActiveGroupMoveLeftEventHandler(TetrisDB.ActiveGroupMoveLeftEvent data, GroupComponent group) { var handler = new GroupSystemActiveGroupMoveLeftEventHandler(); handler.System = this; handler.Event = data; handler.Group = group; StartCoroutine(handler.Execute()); }
protected void GroupSystemActiveGroupMoveLeftEventFilter(TetrisDB.ActiveGroupMoveLeftEvent data) { var GroupComponentItems = GroupComponentManager.Components; for (var GroupComponentIndex = 0 ; GroupComponentIndex < GroupComponentItems.Count; GroupComponentIndex++ ) { if (!GroupComponentItems[GroupComponentIndex].Enabled) { continue; } this.GroupSystemActiveGroupMoveLeftEventHandler(data, GroupComponentItems[GroupComponentIndex]); } }