SpawnPrefabObject
Method
Spawns a prefab object from a specific package uploaded thru Spatial Studio.
Parameters
| Parameter | Description |
|---|---|
| AssetType assetType | Which asset type to set this from. |
| string assetID | ID of the asset:
|
| Vector3 position | Position where an object should be instantiated. |
| Quaternion rotation | Rotation of the object to instantiate. |