Class AssetReferenceAtlasedSprite
Assetreference that only allows atlassed sprites.
Inheritance
System.Object
AssetReferenceAtlasedSprite
Syntax
[Serializable]
public class AssetReferenceAtlasedSprite : AssetReferenceT<Sprite>, IKeyEvaluator
Constructors
AssetReferenceAtlasedSprite(String)
Declaration
public AssetReferenceAtlasedSprite(string guid)
Parameters
Type |
Name |
Description |
System.String |
guid |
|
Methods
ValidateAsset(String)
Declaration
public override bool ValidateAsset(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
UnityEngine.AddressableAssets.AssetReferenceT<Sprite>.ValidateAsset(System.String)