docs.unity.cn
    Show / Hide Table of Contents

    Method HasEntityReferencesManaged

    HasEntityReferencesManaged(Type, out EntityRemapUtility.HasRefResult, out EntityRemapUtility.HasRefResult, Dictionary<Type, EntityRemapUtility.EntityBlobRefResult>, Int32)

    Checks if a type has any Entity or Unity.Entities.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 Unity.Entities.BlobAssetReferenceData references.

    Dictionary<Type, EntityRemapUtility.EntityBlobRefResult> cache

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

    Int32 maxDepth

    The maximum depth for the recursion.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023