コード例 #1
0
        public MultiplayerController(MultiplayerService multiplayerService)
        {
            this.multiplayerService = multiplayerService;

            launcher = GameObject.FindObjectOfType <Launcher>();
        }
コード例 #2
0
 public void ConnectPhoton(MultiplayerService multiplayerService)
 {
     PhotonNetwork.AutomaticallySyncScene = true;
     this.multiplayerService = multiplayerService;
     PhotonNetwork.ConnectUsingSettings();
 }