{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class AssetReferenceT<TObject> | Addressables | 1.21.17
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Class AssetReferenceT<TObject>

    Generic version of AssetReference class. This should not be used directly as CustomPropertyDrawers do not support generic types. Instead use the concrete derived classes such as AssetReferenceGameObject.

    상속
    object
    AssetReference
    AssetReferenceT<TObject>
    AssetReferenceAtlasedSprite
    AssetReferenceGameObject
    AssetReferenceSprite
    AssetReferenceTexture
    AssetReferenceTexture2D
    AssetReferenceTexture3D
    구현
    IKeyEvaluator
    상속된 멤버
    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, bool)
    AssetReference.LoadAssetAsync<TObject>()
    AssetReference.LoadSceneAsync(LoadSceneMode, bool, int)
    AssetReference.UnLoadScene()
    AssetReference.InstantiateAsync(Vector3, Quaternion, Transform)
    AssetReference.InstantiateAsync(Transform, bool)
    AssetReference.RuntimeKeyIsValid()
    AssetReference.ReleaseAsset()
    AssetReference.ReleaseInstance(GameObject)
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    네임스페이스: UnityEngine.AddressableAssets
    어셈블리: solution.dll
    구문
    [Serializable]
    public class AssetReferenceT<TObject> : AssetReference, IKeyEvaluator where TObject : Object
    타입 파라미터
    이름 설명
    TObject

    생성자

    이름 설명
    AssetReferenceT(string)

    Construct a new AssetReference object.

    메서드

    이름 설명
    LoadAsset()

    Load the referenced asset as type TObject. This cannot be used a second time until the first load is released. If you wish to call load multiple times on an AssetReference, use LoadAssetAsync<TObject>(object) and pass your AssetReference in as the key.

    See the Loading Addressable Assets documentation for more details.

    LoadAssetAsync()

    Load the referenced asset as type TObject. This cannot be used a second time until the first load is released. If you wish to call load multiple times on an AssetReference, use LoadAssetAsync<TObject>(object) and pass your AssetReference in as the key. on an AssetReference, use Addressables.LoadAssetAsync<>() and pass your AssetReference in as the key.

    See the Loading Addressable Assets documentation for more details.

    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.

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)