public void Connect()
 {
     if (gameListener != null)
     {
         gameListener.OnConnected(this);
     }
 }
Beispiel #2
0
 public virtual void OnConnectedToMaster()
 {
     Debug.Log("OnConnectedToMaster() was called by PUN. Now this client is connected and could join a room. Calling: PhotonNetwork.JoinRandomRoom();");
     gameListener.OnConnected(this);
 }