docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GuidUtil

    Utility for dealing with Guids.

    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: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    public static class GuidUtil

    Methods

    Compose(ulong, ulong)

    Reconstructs a Guid from two ulongs representing the low and high bytes. Use GuidUtil.Decompose to decompose the guid into its low and high components.

    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.

    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)