Class AssetReference
A object representing an asset for the AssetTargetField.
Inherited Members
Namespace: Unity.AppUI.Core
Assembly: Unity.AppUI.dll
Syntax
[Serializable]
public class AssetReference
Remarks
This is the value type of AssetTargetField. It is a lightweight, serializable descriptor rather than a live object handle, so the same field works in a player build, in the Editor, and against a remote asset catalogue.
Fields
name
The name of the asset.
Declaration
public string name
Field Value
| Type | Description |
|---|---|
| string |
type
The type of the asset.
Declaration
public string type
Field Value
| Type | Description |
|---|---|
| string |
typeIcon
The type icon of the asset.
Declaration
public string typeIcon
Field Value
| Type | Description |
|---|---|
| string |