Ok guys I need some help please, I have a game and its a multiplayer game, so its relativly set up but I need to make a multiplayer lobby, I have looked for tutorials on this and nothing is heplful enough, could someone please help me or point me to a video where I could learn this. Thanks guys
I myself have worked with PUN and think its a great system as it is easy to use… but if you are new, you might run into a bit of problems because of its differences between unity networking. Anyway back to the answer. I will write a code below that you can use. To use it just make a new C# script and modify where is says: MYPREFAB near the bottom with you’re character also make sure its in a resources folder. Make sure you make a gameobject and set it as SpawnSpot and change version to you’re game version(Just so people with older game versions cant connect to people with newer.
if you need more help comment below what you need and i will modify.
Do I have to connect to photon network once again if i load another multiplayer scene ? when i am loading scene from scene1 to scene2 , joinlobby is no getting executed. Can you please guide me on this ? I want to have total of 2 multiplyer scene and one starting scene where we create room and stuff. Is there any rule or constrains exist for using photon in difference scene ? I am new to photon.
NetworkManager1.cs(110,20): error CS1502: The best overloaded method match for `PhotonNetwork.CreateRoom(string, RoomOptions, TypedLobby, string)’ has some invalid arguments
Assets/Resources 1/NetworkManager1.cs(110,40): error CS1503: Argument #2' cannot convert bool’ expression to type `RoomOptions’