IsConnected() 공개 메소드

public IsConnected ( ) : bool
리턴 bool
예제 #1
0
파일: UIRoot.cs 프로젝트: chenbk85/CGSFII
 // Update is called once per frame
 void Update()
 {
     if (network.IsConnected())
     {
         connectionText.text = "Connected";
     }
     else
     {
         connectionText.text = "Disconnected";
     }
 }
예제 #2
0
 // Update is called once per frame
 void Update()
 {
     if (network.IsConnected())
     {
         OnSendButton();
         // connectionText.text = "Connected";
     }
     else
     {
         // connectionText.text = "Disconnected";
     }
 }