示例#1
0
 private void Update() {
     Model.Cell cell = sanmoku.GetCell(index);
     if (!cell.hasStone) {
         button.GetComponentInChildren<Text>().text = "";
         button.interactable = true;
     }
     else if(cell.stone == Model.Player.Player1) {
         button.GetComponentInChildren<Text>().text = "〇";
         button.interactable = false;
     }
     else {
         button.GetComponentInChildren<Text>().text = "×";
         button.interactable = false;
     }
 }