public static SignupViewController Show() { if (prefab == null) { prefab = Resources.Load("SignUpView") as GameObject; } GameObject obj = Instantiate(prefab) as GameObject; SignupViewController signUpView = obj.GetComponent <SignupViewController>(); signUpView.SetSignUpView(); return(signUpView); }
//회원가입 버튼 클릭 private void SignUp() { SignupViewController.Show(); }