Field HasNoUnityObjectReferences
Configures the TypeManager to set the component type's UnityObjectRefOffsetCount to zero.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
public bool HasNoUnityObjectReferences
Returns
Type | Description |
---|---|
bool |
Remarks
You can use this to bypass the TypeManager check and force the component type's reference to zero.
Set to false
to set the component type's UnityObjectRefOffsetCount to zero. Set to true
to set the value to zero only when the component has a Unity object reference.