docs.unity3d.com
    Show / Hide Table of Contents

    Class AssetReferenceAtlasedSprite

    Assetreference that only allows atlassed sprites.

    Inheritance
    Object
    AssetReference
    AssetReferenceT<Sprite>
    AssetReferenceAtlasedSprite
    Inherited Members
    AssetReferenceT<Sprite>.LoadAsset()
    AssetReferenceT<Sprite>.LoadAssetAsync()
    AssetReference.m_AssetGUID
    AssetReference.OperationHandle
    AssetReference.RuntimeKey
    AssetReference.AssetGUID
    AssetReference.SubObjectName
    AssetReference.IsValid()
    AssetReference.IsDone
    AssetReference.Asset
    AssetReference.ToString()
    AssetReference.LoadAsset<TObject>()
    AssetReference.LoadScene()
    AssetReference.Instantiate(Vector3, Quaternion, Transform)
    AssetReference.Instantiate(Transform, Boolean)
    AssetReference.LoadAssetAsync<TObject>()
    AssetReference.LoadSceneAsync(LoadSceneMode, Boolean, Int32)
    AssetReference.UnLoadScene()
    AssetReference.InstantiateAsync(Vector3, Quaternion, Transform)
    AssetReference.InstantiateAsync(Transform, Boolean)
    AssetReference.RuntimeKeyIsValid()
    AssetReference.ReleaseAsset()
    AssetReference.ReleaseInstance(GameObject)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023