Can someone please tell me why the code below throws
No overload for method `CreateRoom' takes `6' arguments
in the inspector?
ExitGames.Client.Photon.Hashtable customRoomPropertiesToSet = new ExitGames.Client.Photon.Hashtable();
customRoomPropertiesToSet.Add("levelName", RetainID.TheMap);
customRoomPropertiesToSet.Add("GetHumans", RetainID.Humans);
customRoomPropertiesToSet.Add("GetBots", RetainID.Bots);
string[] customPropertiesForLobby = new string[2];
customPropertiesForLobby[0] = "levelName";
customPropertiesForLobby[1] = "GetHumans";
customPropertiesForLobby[2] = "GetBots";
PhotonNetwork.CreateRoom(RetainID.NameTheGame, true, true, int.Parse(RetainID.Humans), customRoomPropertiesToSet, customPropertiesForLobby);
No overload for method `CreateRoom' takes `6' arguments
in the inspector?
ExitGames.Client.Photon.Hashtable customRoomPropertiesToSet = new ExitGames.Client.Photon.Hashtable();
customRoomPropertiesToSet.Add("levelName", RetainID.TheMap);
customRoomPropertiesToSet.Add("GetHumans", RetainID.Humans);
customRoomPropertiesToSet.Add("GetBots", RetainID.Bots);
string[] customPropertiesForLobby = new string[2];
customPropertiesForLobby[0] = "levelName";
customPropertiesForLobby[1] = "GetHumans";
customPropertiesForLobby[2] = "GetBots";
PhotonNetwork.CreateRoom(RetainID.NameTheGame, true, true, int.Parse(RetainID.Humans), customRoomPropertiesToSet, customPropertiesForLobby);