PhotonAssetLoader

Description: The PhotonAssetLoader has the same API as the LocalAssetLoader, but is designed to synchronize avatar loading over Photon. When Load() is called on the PhotonAssetLoader, it will load the same avatar on the matching GameObject on all clients.

Note that the PhotonAssetLoader always creates a LocalAssetLoader on the same GameObject.

Methods:

NOTE: When using the Photon demo you need to apply your Photon AppID to the demo and you need to turn on "Auto-Join Lobby". Go to window->Photon Unity Networking->PUN Wizard->Locate Photon Server Settings. Ensure your Photon AppID is here and "Auto-Join Lobby" is turned on. "Auto-Join Lobby" can also be turned on programmatically.