public void RegistBotton() { string name = GameObject.Find("UseNameInput").GetComponent <UIInput>().value; string udid = GameObject.Find("PassInput").GetComponent <UIInput>().value; if (name != null && udid != null) { Connecter.membername = name; Connecter.udid = udid; Connecter.GetRegist(); gameObject.SetActive(false); } }