Class AssetReferenceSprite
Sprite only asset reference.
Inheritance
System.Object
AssetReferenceSprite
Syntax
[Serializable]
public class AssetReferenceSprite : AssetReferenceT<Sprite>, IKeyEvaluator
Constructors
AssetReferenceSprite(String)
Declaration
public AssetReferenceSprite(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)