docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GuidUtil

    Utility for dealing with Guid objects.

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

    Methods

    Compose(ulong, ulong)

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

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

    The low 8 bytes of the Guid.

    ulong high

    The high 8 bytes of the Guid.

    Returns
    Type Description
    Guid

    The Guid composed of low and high.

    Remarks

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

    In This Article
    Back to top
    Copyright © 2025 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)