Version: Unity 7.0 Alpha (7000.0)
LanguageEnglish
  • C#

SystemTypeIndex

struct in Unity.Entities

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

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.

Static Properties

Property Description
Null An invalid SystemTypeIndex which does not map to a valid System type.

Properties

Property 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.
Value Raw value used to identify System types at runtime. This value should not be serialized as it is not guaranteed to be deterministic across builds (but is during runtime).

Public Methods

Method Description
CompareTo Compare this SystemTypeIndex against a given one
Equals 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

Operator Description
int Implicit 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.
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.
SystemTypeIndex Implicit conversion from an int to a SystemTypeIndex.