< User:PJB
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
|
A | The asset to expose to asset ref fields when grabbing the object root of the slot this component is on. |
Generic Parameters
This type has one or more generic parameters.
A
Name: | A |
Required Type: | IAsset`1
|
The type of asset proxied.
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.