docs.unity.cn
    Show / Hide Table of Contents

    Field StableTypeHash

    Hash used to uniquely identify a component based on its runtime memory footprint.

    Namespace: Unity.Entities
    Syntax
    public readonly ulong StableTypeHash
    Returns
    Type Description
    UInt64
    Remarks

    This value is deterministic across builds provided that the underlying type layout of the component hasn't changed. For example, renaming a member doesn't affect things, however changing a member's type causes the parent StableTypeHash to change).

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