ドキュメント

Unity Engine

Download Unity

Unity Engine

ComponentTypeHash

Represents a hash of a component type.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public struct ComponentTypeHash : IEquatable<ComponentTypeHash>

Remarks

This struct is mostly intended for internal use in the Entity differ and patcher code. This hash is NOT expected to be stable across versions.

Fields

Value

Description

FlagsFlags for this component type.
StableTypeHashThe hash value. Not expected to be stable across versions.

Methods

Method

Description

EqualsChecks if a ComponentTypeHash equals some object which may or may not be a ComponentTypeHash
GetHashCodeComputes a hashcode to support hash-based collections.

Operators

Operator

Description

operator ==Checks if two ComponentTypeHash instances are equal
operator !=Checks if two ComponentTypeHash instances are not equal