Method HasEntityReferencesManaged
HasEntityReferencesManaged(Type, out HasRefResult, 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, out EntityRemapUtility.HasRefResult hasUnityObjectReferences, 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. |
EntityRemapUtility.HasRefResult | hasUnityObjectReferences | Specifies if the type has any UnityObjectRef<T> 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. |