public MultiplayerController(MultiplayerService multiplayerService) { this.multiplayerService = multiplayerService; launcher = GameObject.FindObjectOfType <Launcher>(); }
public void ConnectPhoton(MultiplayerService multiplayerService) { PhotonNetwork.AutomaticallySyncScene = true; this.multiplayerService = multiplayerService; PhotonNetwork.ConnectUsingSettings(); }