using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NetworkManager : MonoBehaviour {
// Use this for initialization void Start () { Connect(); } private void Connect() { PhotonNetwork.ConnectUsingSettings("XtemeCarRace R01"); } void OnGUI() { GUILayout.Label(PhotonNetwork.connectionStateDetailed.ToString()); } void OnJoinedLobby() { Debug.Log("OnJoinedLobby called"); PhotonNetwork.JoinRandomRoom(); } // OPERATION FAILED OPERATIONRESPONSE 225: Return Code :32760 void OnPhotonRandomJoinFailed() { Debug.Log("OnPhotonRandomJoinFailed called"); PhotonNetwork.CreateRoom(null); } void OnJoinedRoom() { }
}
あなたの回答
tips
プレビュー