Photon Fusion2中的匹配功能是由StartGame()方法实现的。
直接上代码:
NetworkRunner.StartGame(new StartGameArgs {
GameMode = GameMode.AutoHostOrClient,
PlayerCount=2,
EnableClientSessionCreation=true,
IsOpen = true,
IsVisible =
Photon Fusion2中的匹配功能是由StartGame()方法实现的。
直接上代码:
NetworkRunner.StartGame(new StartGameArgs {
GameMode = GameMode.AutoHostOrClient,
PlayerCount=2,
EnableClientSessionCreation=true,
IsOpen = true,
IsVisible =