assetID

Property

ID of the Spatial asset currently used by the prefab object.

Remarks

The ID can refer to different things depending on the assetType:

  • BackpackItem: The itemID found in Spatial Studio
  • Package: The packageSKU found in Spatial Studio or Unity
  • EmbeddedAsset: The assetID specified in the UnitySDK.Editor.SpaceConfig in Unity Editor

Returns string