Photon Unity Networking v1.101

Main Page

Introduction

Photon is a real-time multiplayer game development framework that is fast, lean and flexible. Photon consists of a server and multiple client SDKs for major platforms.

Photon Unity Network (PUN) is our is our take on a Unity specific, high-level solution: Matchmaking, easy to use callbacks, components to synchronize GameObjects, Remote Procedure Calls (RPCs) and similar features provide a great start. Beyond that is a solid, extensive API for more advanced control.

Full source code is available, so you can scale this plugin to support any type of multiplayer game you come up with.

This plugin is compatible with the managed Photon Cloud service, which runs Photon Servers for you. A setup window registers you (for free) in less than a minute.

Most notable features:

  • Dead-easy API
  • Lots of demos and an extensive PUN Basics Tutorial
  • Server available as hosted service (free for development) or as "On Premise"
  • Load-balanced! Scales across servers (with no extra effort)
  • Outstanding performance of the Photon Server
  • Dedicated servers. No NAT punch-through needed
  • Offline mode: re-use your multiplayer code in singleplayer game modes

First Steps

Import PUN into a new, empty project. Register via the pop up "wizard" (ALT+P) to get you a free Photon Cloud subscription (saving an initial AppId for you). Now you're ready to run and dissect the Demos.

Make sure to open and code the PUN Basics Tutorial.

General Documentation (API)

Continue reading the General Documentation.

Check out the growing doc pages online: http://doc.photonengine.com/en-us/pun/current

The Vikings Demo