Exemplo n.º 1
0
 public void RandomBlock()
 {
     if (!Ed.CheckIfGameOver())
     {
         Instantiate(blocks[Random.Range(0, blocks.Length)], transform.position, Quaternion.identity);
     }
     else
     {
         GameOver();
     }
 }