WuhuIslandTesting/Library/PackageCache/com.unity.xr.oculus@4.0.0/Runtime/OculusSession.cs
2025-01-07 02:06:59 +01:00

14 lines
No EOL
290 B
C#

using UnityEngine;
namespace Unity.XR.Oculus
{
internal static class OculusSession
{
public static void Update()
{
if (NativeMethods.GetShouldRestartSession()) {
OculusRestarter.Instance.PauseAndRestart();
}
}
}
}