docs.unity.cn
    Show / Hide Table of Contents

    Class GuidUtil

    Utility for dealing with Guid objects.

    Inheritance
    Object
    GuidUtil
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.XR.CoreUtils
    Syntax
    public static class GuidUtil

    Methods

    Compose(UInt64, UInt64)

    Reconstructs a Guid from two UInt64 values representing the low and high bytes.

    Declaration
    public static Guid Compose(ulong low, ulong high)
    Parameters
    Type Name Description
    UInt64 low

    The low 8 bytes of the Guid.

    UInt64 high

    The high 8 bytes of the Guid.

    Returns
    Type Description
    Guid

    The Guid composed of low and high.

    Remarks

    Use Decompose(Guid, out UInt64, out UInt64) to separate the Guid into its low and high components.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, May 4, 2023