Component image
Asset Proxy is a component that allows for access to an asset through a slot when being grabbed by the user.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
AssetReference
|
IAsset`1 | The asset to expose to asset ref fields when grabbing the object root of the slot this component is on. |
Usage
put this component on a slot and fill the AssetReference
with an asset reference to allow access to an asset via holding this slot's object root. The asset will then be available when holding onto the object root of the slot this component is on, and clicking on a UIX field (ex: an inspector field) places the asset type that this component has inside of it into the field.
Examples
This is used on items like imported audio clips and images, to allow them to be used and dropped into inspector fields.