Struct ComponentTypeHash
Represents a hash of a component type.
Namespace: Unity.Entities
Syntax
public struct ComponentTypeHash : IEquatable<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 |
---|---|
Equality(ComponentTypeHash, ComponentTypeHash) | Checks if two ComponentTypeHash instances are equal |
Inequality(ComponentTypeHash, ComponentTypeHash) | Checks if two ComponentTypeHash instances are not equal |