Example #1
0
 public void Setup()
 {
     deleteList.DestroyList();
     deleteList.Setup();
     this.GetComponent <AudioSource>().Stop();
     gameOver = false;
     GlobalInfo.current_player = 0;
     for (int i = 0; i < 3; i++)
     {
         for (int k = 0; k < 3; k++)
         {
             rows[i].element[k] = SectionStatus.empty;
             tiles[k + i * 3].GetComponent <Renderer>().material = materials[0];
         }
     }
 }