get rid of component stub |
not a stub |
||
(One intermediate revision by one other user not shown) | |||
Line 11: | Line 11: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|AssetReference|{{RootFieldType|AssetRef`1| | |AssetReference|{{RootFieldType|AssetRef`1|A}}|TypeAdv0=true| The asset to expose to asset ref fields when grabbing the object root of the slot this component is on. | ||
}} | }} | ||
Latest revision as of 16:42, 17 December 2024
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. |
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.