docs.unity.cn
    Show / Hide Table of Contents

    Class SerializableGuidUtil

    Utility for creating a Unity.XR.CoreUtils.SerializableGuid. A SerializableGuid can be serialized by Unity, while a System.Guid cannot.

    Inheritance
    Object
    SerializableGuidUtil
    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 SerializableGuidUtil

    Methods

    Create(Guid)

    Creates a SerializableGuid from a System.Guid.

    Declaration
    public static SerializableGuid Create(Guid guid)
    Parameters
    Type Name Description
    Guid guid

    The Guid to represent as a SerializableGuid.

    Returns
    Type Description
    SerializableGuid

    A serializable version of guid.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, December 21, 2022
    Terms of use