コード例 #1
0
 public void RightButten()
 {
     G_M1.transform.FindChild("L").GetComponent <UILabel> ().text = "주자상황";
     G_M2.transform.FindChild("L").GetComponent <UILabel> ().text = "이닝";
     //G_M3.transform.FindChild ("L").GetComponent<UILabel> ().text = "투수유형";
     Bot.GetComponent <UILabel> ().text = "Direction";
     VS.GetComponent <UILabel> ().text  = "VS " + "Team" + " 0 승 0 패 " + "평균자책 " + "0.00 | " + "Direction";
     transform.FindChild("<").GetComponent <UIButton> ().isEnabled = true;
     transform.FindChild(">").GetComponent <UIButton> ().isEnabled = false;
 }
コード例 #2
0
 public void LeftButten()
 {
     G_M1.transform.FindChild("L").GetComponent <UILabel> ().text = "시즌타율";
     G_M2.transform.FindChild("L").GetComponent <UILabel> ().text = "이닝별";
     //G_M3.transform.FindChild ("L").GetComponent<UILabel> ().text = "투수유형별";
     Bot.GetComponent <UILabel> ().text = "1,2루";
     VS.GetComponent <UILabel> ().text  = "VS " + "Team" + " 시즌 타율 0.200 | " + "Direction";
     transform.FindChild("<").GetComponent <UIButton> ().isEnabled = false;
     transform.FindChild(">").GetComponent <UIButton> ().isEnabled = true;
 }