Пример #1
0
 void GoDown()
 {
     piece.transform.position -= Vector3.up;
     timer = 0f;
     if (!CheckPositionValidation())
     {
         isMovable = false;
         piece.transform.position += Vector3.up;
         gridSettings.RegisterBlocks(piece);
         gridSettings.CheckLines();
         spawner.SpawnNewPiece();
     }
 }