public static InstantiateSceneObject ( string prefabName, Vector3 position, Quaternion rotation, int group, object data ) : GameObject | ||
prefabName | string | Name of the prefab to instantiate. |
position | Vector3 | Position Vector3 to apply on instantiation. |
rotation | Quaternion | Rotation Quaternion to apply on instantiation. |
group | int | The group for this PhotonView. |
data | object | Optional instantiation data. This will be saved to it's PhotonView.instantiationData. |
return | GameObject |