Property HasUnityObjectRefs
HasUnityObjectRefs
Returns whether there are any UnityObjectRefs fields in this component.
Declaration
public bool HasUnityObjectRefs { get; }
Property Value
Type | Description |
---|---|
bool |
Remarks
For struct IComponentData a value of true
means that there are UnityObjectRefs fields in this component.
For class based IComponentData, a value of true
means that there might be UnityObjectRefs fields in this component. This is because polymorphic UnityObjectRefs<T> members can't be proven statically.
A value of false
means there are no UnityObjectRefs fields in this component.