Multiplayer FPS with Photon Cloud [Asset Package] [FREE!]

This pack contains prefabs and scripts for creating a multiplayer FPS in Unity3D. Requires Photon by Exit Games.

Setup like this:

  1. Drag the Code_enable, Code_game, and Code_menu prefabs into your scene. The Code_game prefab is the spawn location so place accordingly.

  2. Create a resources folder and place your player prefab in that folder. Attach a photonview to the prefab.

  3. Also attach a FirstPersonNetwork script to the player prefab and add the camera to the “camera” variable.

  4. Drag the player prefab to the “player prefab” slot on the Code_game GameManager script.

  5. Run your scene!

If you don’t feel like using this package, I have a tutorial series on how to do this from scratch
(not yet finished). Click here to go to my channel: HSM Interactive’s YouTube Channel

(Don’t forget to attach a photon view to the Code_game prefab if it’s missing)

DOWNLOAD FILE (13 KB)

1409613–73599–$Mulltiplayer FPS - Photon.unitypackage (12.9 KB)

You have video’s on how to do this from scratch. Are there any on setting this up as it is now?

I will make one if you are unsure how to set it up.

Очень тяжело понимать Ваше видео, но кое как возможно я сделал то что нужно, но у меня возникла ошибка

ssets/Multiplayer FPS  - Photon/Scripts/Player/FirstPersonNetwork.cs(36,63): error CS1061: Type `int' does not contain a definition for `ID' and no extension method `ID' of type `int' could be found (are you missing a using directive or an assembly reference?)

Сделайте еще видео по завершению настройки.