Okay, below is the step to show how multiplayer games run on unity
Step1: open unity3D
Step2: open asset store
Step3: search for "Photon unity networking" in asset store, and import the package
(optional -> search for "18 free substances" and import some material for your project)
Step4: Under Assets-> Photon Unity Networking -> Resources -> PhotonServerSetting
Choose:
Hosting: Photon Cloud
Region: USA
(make sure you created account at)
https://www.exitgames.com/en/Account/SignIn
App ID: (copy from your exitgames dashboard)
Protocol: UDP
Step5: open one of the demo scene, then on top, File -> Build Setting -> build into .exe file for your mac or pc
Step6: now you should be able to play multiplayer games by opening 2 or 3 window
No comments:
Post a Comment