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 FieldAsset

Values

NameValueDescription
None0The field is no reference.
Prefab1A prefab or a model, as a PrefabRef holds it.
Audio2A sound clip: an Audio Source's clip.
Controller3An animator controller: an Animator's Controller.
Ui4A UI document: a UI Document's document.
Data5A data asset of one kind, as an AssetRef<T> holds it: the kind is the hint's FieldHint.DataType.
File6A file of a package's own kind, as a FileRef holds it: which files is the hint's FieldHint.FileKind.