Example #1
0
 public void ChangeSelectedCharacter()
 {
     if (!HasSelected)
     {
         SelectedChara = CharaSelect.board[(int)x1, (int)y1].transform.name;
         GetComponent <RectTransform>().position = CharaSelect.board[(int)x1, (int)y1].transform.GetComponent <RectTransform>().position;
         CharaSelect.UpdateSelected(PlayerIndex, (int)x1, (int)y1);
     }
 }