Scripting API
Scripting API
FieldAsset
Enum in Abyss.Core, from Abyss.Core.
What kind of asset a reference field names; see FieldHint.Asset.
public enum FieldAssetValues
| Name | Value | Description |
|---|---|---|
None | 0 | The field is no reference. |
Prefab | 1 | A prefab or a model, as a PrefabRef holds it. |
Audio | 2 | A sound clip: an Audio Source's clip. |
Controller | 3 | An animator controller: an Animator's Controller. |
Ui | 4 | A UI document: a UI Document's document. |
Data | 5 | A data asset of one kind, as an AssetRef<T> holds it: the kind is the hint's FieldHint.DataType. |
File | 6 | A file of a package's own kind, as a FileRef holds it: which files is the hint's FieldHint.FileKind. |
