docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method HasEntityReferencesManaged

    HasEntityReferencesManaged(Type, out HasRefResult, out HasRefResult, Dictionary<Type, EntityBlobRefResult>, int)

    Checks if a type has any Entity or BlobAssetReferenceData references.

    Declaration
    public static void HasEntityReferencesManaged(Type type, out EntityRemapUtility.HasRefResult hasEntityReferences, out EntityRemapUtility.HasRefResult hasBlobReferences, Dictionary<Type, EntityRemapUtility.EntityBlobRefResult> cache = null, int maxDepth = 128)
    Parameters
    Type Name Description
    Type type

    The type to inspect.

    EntityRemapUtility.HasRefResult hasEntityReferences

    Specifies if the type has any Entity references.

    EntityRemapUtility.HasRefResult hasBlobReferences

    Specifies if the type has any BlobAssetReferenceData references.

    Dictionary<Type, EntityRemapUtility.EntityBlobRefResult> cache

    Map of type to EntityRemapUtility.EntityBlobRefResult used to accelerate the type recursion.

    int maxDepth

    The maximum depth for the recursion.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)