docs.unity.cn
    Show / Hide Table of Contents

    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

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023