Hi,
When I created my game solely with Unity Networking (without PlayFab), I was able to create a world which was able to be both a client and a server. If I ran the world with the -nographics flag, I would detect that when the world ran and, instead of spawning a player, it would become an authoritative server. However, if I ran the world normally, it would connect to the server as an ordinary player.
Is it possible for me to do the same with a PlayFab custom server?
My game (which currently uses Photon, because I thought that could have custom servers, only now I've found out I'll have to convert back to Unity networking... grrrrrrrr) is already coded in a manner in which this is possible, all I would need to do is set an "is server" boolean to true in my code.
I've also never set up a PlayFab custom game server before. I presume I would have to make separate code run if it's a custom server, or if it's just a regular client, for either connecting to the server or registering the server with PlayFab.
I'm completely and utterly lost, and any help would be really appreciated. I've tried sifting through the example custom server code, but it isn't clear to me how I can use that code to achieve the result I am looking for.
Thank you,
Joe