docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)