[DesktopVRSwitch] Fixes for 2023r171

This commit is contained in:
NotAKidoS 2023-08-02 16:58:11 -05:00
parent ba6a5f4778
commit be82bf228c
12 changed files with 61 additions and 129 deletions

View file

@ -3,12 +3,12 @@ using UnityEngine;
namespace NAK.DesktopVRSwitch;
class VRModeSwitchDebugger : MonoBehaviour
internal class VRModeSwitchDebugger : MonoBehaviour
{
Coroutine _switchCoroutine;
WaitForSeconds _sleep;
private Coroutine _switchCoroutine;
private WaitForSeconds _sleep;
void OnEnable()
private void OnEnable()
{
if (_switchCoroutine == null)
{
@ -17,7 +17,7 @@ class VRModeSwitchDebugger : MonoBehaviour
}
}
void OnDisable()
private void OnDisable()
{
if (_switchCoroutine != null)
{
@ -27,7 +27,7 @@ class VRModeSwitchDebugger : MonoBehaviour
}
}
IEnumerator SwitchLoop()
private IEnumerator SwitchLoop()
{
while (true)
{