SW 중심대학 OSS GIT 서버
박건태, 이승준, 고기완, 이준호
새로운 배포
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
using System;using UnityEngine.XR.ARSubsystems;
namespace UnityEditor.XR.ARSubsystems{ /// <summary>
/// Utility for creating a <c>UnityEngine.XR.ARSubsystems.SerializableGuid</c>.
/// A <c>SerializableGuid</c> can be serialized by Unity, while a <c>System.Guid</c>
/// cannot.
/// </summary>
public static class SerializableGuidUtil { /// <summary>
/// Creates a <c>SerializableGuid</c> from a <c>System.Guid</c>.
/// </summary>
/// <param name="guid">The <c>Guid</c> to represent as a <c>SerializableGuid</c>.</param>
/// <returns>A serializable version of <paramref name="guid"/>.</returns>
public static SerializableGuid Create(Guid guid) { ulong low, high; guid.Decompose(out low, out high); return new SerializableGuid(low, high); } }}
|