Class AssetReferenceAtlasedSprite
Assetreference that only allows atlassed sprites.
Inherited Members
Namespace: UnityEngine.AddressableAssets
Syntax
[Serializable]
public class AssetReferenceAtlasedSprite : AssetReferenceT<Sprite>, IKeyEvaluator
Constructors
Name | Description |
---|---|
AssetReferenceAtlasedSprite(String) | Constructs a new reference to a AssetReferenceAtlasedSprite. |
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. |
ValidateAsset(Object) | Validates that the referenced asset allowable for this asset reference. |