Class AssetReferenceSprite
Sprite only asset reference.
Inherited Members
Namespace: UnityEngine.AddressableAssets
Syntax
[Serializable]
public class AssetReferenceSprite : AssetReferenceT<Sprite>, IKeyEvaluator
Constructors
| Name | Description |
|---|---|
| AssetReferenceSprite(String) | Constructs a new reference to a AssetReferenceSprite. |
Methods
| Name | Description |
|---|---|
| ValidateAsset(String) | Validates that the asset located at a path is allowable for this asset reference. An asset is allowable if it is of the correct type or if one of its sub-asset is. |