docs.unity3d.com
    Show / Hide Table of Contents

    Method AssociateBlobAssetWithUnityObject

    AssociateBlobAssetWithUnityObject(Hash128, UnityEngine.Object)

    Declare the BlobAsset being associated with the given UnityObject

    Declaration
    public void AssociateBlobAssetWithUnityObject(Hash128 hash, UnityEngine.Object unityObject)
    Parameters
    Type Name Description
    Hash128 hash

    The hash associated to the BlobAsset

    UnityEngine.Object unityObject

    The UnityObject associated with the BlobAsset

    Remarks

    One of the role of the BlobAssetComputationContext<TS, TB> is to track the new association between Authoring UnityObject and BlobAsset and report them to the BlobAssetStore to automatically track the life-time of the BlobAssetReference<T> and release the instances that are no longer used.

    Back to top
    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