Wiki

Case Status
Log In

Wiki

 
Home ยป Add-ons»Photon Networking»Photon Network Actions»PhotonNetworkInstantiate
Index
Navigation
Community Wiki

PhotonNetworkInstantiate

Creates a Game Object on all clients in a Photon network game. A PlayMakerPhotonGameObjectProxy component is required on the gameObject.

Game Object
GameObject to create. Usually a Prefab. A PlayMakerPhotonGameObjectProxy component is required on the gameObject.
Spawn Point
Optional Spawn Point.
Position
Position. If a Spawn Point is defined, this is used as a local offset from the Spawn Point position.
Rotation
Rotation. NOTE: Overrides the rotation of the Spawn Point.
Network Group
Usually 0. The group number allows you to group together Photon network messages which allows you to filter them if so desired.
Store Object
Optionally store the created object.

 

 

Usage

You can find this action used in the following examples:

 

Note: The exhaustive list of actions is available here.

Tags:

Last modified on 5/29/2012 3:17 AM by User.

  • RSS Feed