Documentation

Unity Engine


Unity Engine


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.
Read time 1 minuteLast updated 3 days ago

Definition

public struct SystemTypeIndex : IComparable<SystemTypeIndex>, IEquatable<SystemTypeIndex>

Fields

Value

Description

ValueRaw value used to identify System types at runtime.

Properties

Property

Description

FlagsType flags stored in Value
IndexZero-based index for the SystemTypeIndex stored in Value (the type index with no flags).
IsGroupThe system type inherits from ComponentSystemGroup
IsISystemStartStopThe system type inherits from ISystemStartStop
IsManagedThe system type is a class and inherits from ComponentSystemBase.

Static Properties

Property

Description

NullAn invalid SystemTypeIndex which does not map to a valid System type.

Methods

Method

Description

CompareToCompare this SystemTypeIndex against a given one
EqualsSystemTypeIndex instances are equal if they refer to the same system type.
GetHashCodeA hash used for comparisons.
ToFixedStringProvides a Burst compatible debugging string.
ToStringProvides a debugging string.

Operators

Operator

Description

operator ==SystemTypeIndex instances are equal if they refer to the same system type.
operator >Evaluates if one SystemTypeIndex is greater than the other.
operator >=Evaluates if one SystemTypeIndex is greater than or equal to the other.
SystemTypeIndexImplicit conversion from an int to a SystemTypeIndex.
intImplicit conversion from SystemTypeIndex to an int.
operator !=SystemTypeIndex instances are equal if they refer to the same system type.
operator <Evaluates if one SystemTypeIndex is less than the other.
operator <=Evaluates if one SystemTypeIndex is less than or equal to the other.