コード例 #1
0
ファイル: SignUpScript.cs プロジェクト: qlqlf/UnitySihyung
 public void SignupBtn_Event()
 {
     if (Sign_Up_Panel.activeSelf == false)
     {
         Debug.Log("sign up 클릭되었습니다.");
         Sign_Up_Panel.SetActive(true);
         Initial_Sign_Button.SetActive(false);
     }
 }
コード例 #2
0
ファイル: SignUpScript.cs プロジェクト: qlqlf/UnitySihyung
 public void panel_CancelBtn_Event()
 {
     if (Panel_Cancel_Button.activeSelf == true)
     {
         Sign_Up_Panel.SetActive(false);
         Initial_Sign_Button.SetActive(true);
         ID_text.text       = "";
         Password_text.text = "";
         Email_text.text    = "";
         Debug.Log("창을 닫아요");
     }
 }
コード例 #3
0
ファイル: SignUpScript.cs プロジェクト: qlqlf/UnitySihyung
 public void panel_SignBtn_Event()
 {
     if (Panel_Sign_Button.activeSelf == true)
     {
         if (string.IsNullOrEmpty(ID_text.text) == false && string.IsNullOrEmpty(Password_text.text) == false && string.IsNullOrEmpty(Email_text.text) == false)
         {
             StartCoroutine(PostNetworkingWithWWW());
             Sign_Up_Panel.SetActive(false);
             Initial_Sign_Button.SetActive(true);
             ID_text.text       = "";
             Password_text.text = "";
             Email_text.text    = "";
             Debug.Log("창을 닫아요");
         }
         else
         {
             Debug.Log("공백을 입력해주세요");
             Debug.Log(string.IsNullOrEmpty(ID_text.text));
         }
     }
 }