Struct ComponentTypeHash
Represents a hash of a component type.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
public struct ComponentTypeHash
Remarks
This struct is mostly intended for internal use in the Entity differ and patcher code.
Fields
Name | Description |
---|---|
Flags | Flags for this component type. |
StableTypeHash | The hash value. |
Methods
Name | Description |
---|---|
Equals(object) | Checks if a ComponentTypeHash equals some object which may or may not be a ComponentTypeHash |
Equals(ComponentTypeHash) | Checks if another ComponentTypeHash instance is equal to this one |
GetHashCode() | Computes a hashcode to support hash-based collections. |
Operators
Name | Description |
---|---|
operator ==(ComponentTypeHash, ComponentTypeHash) | Checks if two ComponentTypeHash instances are equal |
operator !=(ComponentTypeHash, ComponentTypeHash) | Checks if two ComponentTypeHash instances are not equal |