Hi, I know how to make a single player game and a multiplayer game using PUN2. I am working on a game which supports both multiplayer and single player. I am little confused about how to control the code flow. I have some idea but I want the best one. Anyone has any idea? Please do share. Thanks
Multiplayer and singleplayer modes are completely different from each other. I’m giving an example photonnetwork.instantiate you don’t need to call it like that in a single player mode, you should take the scene and write most of the code differently.
Sorry if my English is bad.