Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 public static void GenerateFirstRow(int playAreaColumns)
 {
     _rowsInGame = new List <Row> {
         RowGeneration.GenerateRow(playAreaColumns)
     };
 }