public static void GenerateAdditionalRow(int PlayAreaColumns, Action rowMoveCallback = null) { foreach (Row row in _rowsInGame) { row.MoveDown(rowMoveCallback); //RowGeneration.MoveRowDown(row.GetComponent<RectTransform>()); } _rowsInGame.Add(RowGeneration.GenerateRow(PlayAreaColumns, rowMoveCallback)); }
public static void GenerateFirstRow(int playAreaColumns) { _rowsInGame = new List <Row> { RowGeneration.GenerateRow(playAreaColumns) }; }