IPrefabObject
Space Content Service
Interface
A prefab object interface that allows for read and write access to the object. Setting values on the object requires the local client to have ownership of the object.
Methods
SetAsset(AssetType, string) | Sets the asset used by the prefab object. Successfully changing the asset will cause the gameObjects representing this prefab in the scene to be re-instantiated for all clients. The IPrefabObject instances will remain the same. |
Inherited Members
assetID | ID of the Spatial asset currently used by the prefab object. |
assetType | The type of Spatial asset currently used by the prefab object. |
isDisposed | Returns true when the component or its parent space object has been destroyed. |
spaceObject | The space object the component is attached to. |
spaceObjectID | The id of the spaceObject the component is attached to. |