Пример #1
0
 public void TagSelectedTileWithToolType()
 {
     if (gameController.GetSelection() == 0)
     {
         button.gameObject.tag = "BlackCircleTool";
     }
     else if (gameController.GetSelection() == 1)
     {
         button.gameObject.tag = "WhiteCircleTool";
     }
     else if (gameController.GetSelection() == 2)
     {
         button.gameObject.tag = "BlackTriangleTool";
     }
     else if (gameController.GetSelection() == 3)
     {
         button.gameObject.tag = "WhiteTriangleTool";
     }
     else if (gameController.GetSelection() == 4)
     {
         button.gameObject.tag = "BlackSquareTool";
     }
     else if (gameController.GetSelection() == 5)
     {
         button.gameObject.tag = "WhiteSquareTool";
     }
 }