コード例 #1
0
 public void OnBack()
 {
     //Debug.Log("gameobject : " + this.name);
     //Debug.Log("de activate: " + gameObject.name);
     //Debug.Log("activate: " + PlayerMesh.name);
     //Debug.Log("activate: " + PlayerSelection.name);
     gameObject.SetActive(false);
     PlayerMesh.SetActive(true);
     PlayerSelection.SetActive(true);
 }
コード例 #2
0
 void activeAndDeactive()
 {
     //Debug.Log("gameobject : " + this.name);
     //Debug.Log("activate: " + PlayerSelection.name);
     //Debug.Log("activate: " + PlayerMesh.name);
     //Debug.Log("de activate: " + Menu.name);
     PlayerSelection.SetActive(true);
     PlayerMesh.SetActive(true);
     Menu.SetActive(false);
 }
コード例 #3
0
 public void OnBack()
 {
     //Debug.Log("Log out");
     client.TcpSend("QUITGAME|" + client.getString("PlayerName"));
     client.remove("PlayerName");
     //Debug.Log("gameobject : " + this.name);
     //Debug.Log("activate: " + Menu.name);
     //Debug.Log("activate: " + PlayerMesh.name);
     //Debug.Log("de activate: " + gameObject.name);
     Menu.SetActive(true);
     PlayerMesh.SetActive(false);
     gameObject.SetActive(false);
 }