Class AssetReferenceAtlasedSprite
Assetreference that only allows atlassed sprites.
Implements
Inherited Members
Namespace: UnityEngine .AddressableAssets
Assembly: Unity.Addressables.dll
Syntax
[Serializable]
public class AssetReferenceAtlasedSprite : AssetReferenceT<Sprite>, IKeyEvaluator
Constructors
Name | Description |
---|---|
Asset |
Constructs a new reference to a AssetReferenceAtlasedSprite. |
Properties
Name | Description |
---|---|
editor |
SpriteAtlas Type-specific override of parent editorAsset. Used by the editor to represent the main asset referenced. |
Methods
Name | Description |
---|---|
Validate |
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. |
Validate |
Validates that the referenced asset allowable for this asset reference. |