Load assets by asset references
You can use the AssetReference
type to add a field to a MonoBehaviour
or ScriptableObject
to reference an Addressable asset. You can also use AssetReference
to restrict fields to Addressable-only assets, or to load assets with specific labels.
Topic | Description |
---|---|
Introduction to asset references | Understand what an asset reference is and when to use them. |
Create an AssetReference | Create and use the AssetReference type. |
Load an AssetReference | Load assets with an AssetReference . |