void SetHomeRHEB(HEBInfo info) { Transform team = mScoreBoard.transform.FindChild("TeamBottom"); team.FindChild("LblR").GetComponent <UILabel> ().text = info.score; team.FindChild("LblH").GetComponent <UILabel> ().text = info.countOfH; team.FindChild("LblE").GetComponent <UILabel> ().text = info.countOfE; team.FindChild("LblB").GetComponent <UILabel> ().text = info.countOfB; }
void SetHomeRHEB(HEBInfo info) { Transform team = mScoreBoard.transform.FindChild("TeamBottom"); team.FindChild("LblR").GetComponent <UILabel> ().text = info.score; team.FindChild("LblH").GetComponent <UILabel> ().text = info.countOfH; team.FindChild("LblE").GetComponent <UILabel> ().text = info.countOfE; team.FindChild("LblB").GetComponent <UILabel> ().text = info.countOfB; UserMgr.Schedule.extend[1].score = int.Parse(info.score); }