void SetStateJoin() { mBtnJoin.transform.FindChild("SprUnderline").GetComponent <UISprite> ().color = WHITE; mBtnJoin.transform.FindChild("SprUnderline").GetComponent <UISprite> ().height = 4; mBtnJoin.transform.FindChild("Label").GetComponent <UILabel> ().color = WHITE; mBtnLogin.transform.FindChild("SprUnderline").GetComponent <UISprite> ().color = GRAY; mBtnLogin.transform.FindChild("SprUnderline").GetComponent <UISprite> ().height = 2; mBtnLogin.transform.FindChild("Label").GetComponent <UILabel> ().color = GRAY; transform.FindChild("BtnFindPwd").gameObject.SetActive(false); transform.FindChild("LblPwd").gameObject.SetActive(false); mState = SELECTION_STATE.JOIN; }
public void SetStateLogin() { mBtnLogin.transform.FindChild("SprUnderline").GetComponent <UISprite> ().color = WHITE; mBtnLogin.transform.FindChild("SprUnderline").GetComponent <UISprite> ().height = 4; mBtnLogin.transform.FindChild("Label").GetComponent <UILabel> ().color = WHITE; mBtnJoin.transform.FindChild("SprUnderline").GetComponent <UISprite> ().color = GRAY; mBtnJoin.transform.FindChild("SprUnderline").GetComponent <UISprite> ().height = 2; mBtnJoin.transform.FindChild("Label").GetComponent <UILabel> ().color = GRAY; transform.FindChild("BtnFindPwd").gameObject.SetActive(true); transform.FindChild("LblPwd").gameObject.SetActive(true); mFindPwd1.SetActive(true); mFindPwd2.SetActive(true); // mStrJoinWhite1.SetActive(false); mStrJoinWhite2.SetActive(false); mStrJoinWhite3.SetActive(false); mStrJoinYellow1.SetActive(false); mStrJoinYellow2.SetActive(false); mState = SELECTION_STATE.LOGIN; }