Struct SystemTypeIndex
Provides a unique id for system types as well as quick lookup information about the system type itself. This value is fully deterministic at runtime but should not be considered deterministic across builds and thus should not be serialized.
Namespace: Unity.Entities
Assembly: solution.dll
Syntax
public struct SystemTypeIndex
Fields
Name | Description |
---|---|
Value | Raw value used to identify System types at runtime.
|
Properties
Name | Description |
---|---|
Flags | Type flags stored in Value |
Index | Zero-based index for the SystemTypeIndex stored in Value (the type index with no flags). |
IsGroup | The system type inherits from ComponentSystemGroup |
IsISystemStartStop | The system type inherits from ISystemStartStop |
IsManaged | The system type is a class and inherits from ComponentSystemBase. |
Null | An invalid SystemTypeIndex which does not map to a valid System type. |
Methods
Name | Description |
---|---|
CompareTo(SystemTypeIndex) | Compare this SystemTypeIndex against a given one |
Equals(object) | SystemTypeIndex instances are equal if they refer to the same system type. |
Equals(SystemTypeIndex) | SystemTypeIndex instances are equal if they refer to the same system type. |
GetHashCode() | A hash used for comparisons. |
ToFixedString() | Provides a Burst compatible debugging string. |
ToString() | Provides a debugging string. |
Operators
Name | Description |
---|---|
operator ==(SystemTypeIndex, SystemTypeIndex) | SystemTypeIndex instances are equal if they refer to the same system type. |
operator >(SystemTypeIndex, SystemTypeIndex) | Evaluates if one SystemTypeIndex is greater than the other. |
operator >=(SystemTypeIndex, SystemTypeIndex) | Evaluates if one SystemTypeIndex is greater than or equal to the other. |
implicit operator SystemTypeIndex(int) | Implicit conversion from an int to a SystemTypeIndex. |
implicit operator int(SystemTypeIndex) | Implicit conversion from SystemTypeIndex to an int. |
operator !=(SystemTypeIndex, SystemTypeIndex) | SystemTypeIndex instances are equal if they refer to the same system type. |
operator <(SystemTypeIndex, SystemTypeIndex) | Evaluates if one SystemTypeIndex is less than the other. |
operator <=(SystemTypeIndex, SystemTypeIndex) | Evaluates if one SystemTypeIndex is less than or equal to the other. |