Skip to content

Commit 9f6d177

Browse files
author
lawwong
committed
Merge pr220 'Fix for Oculus Quest Controllers'
2 parents a53e74c + 8f94191 commit 9f6d177

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/HTC.UnityPlugin/VRModule/Modules/OculusVRModule.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ public override void CreateCamera(VRCameraHook hook)
163163
#endif
164164

165165
#if VIU_OCULUSVR_1_32_0_OR_NEWER || VIU_OCULUSVR_1_36_0_OR_NEWER || VIU_OCULUSVR_1_37_0_OR_NEWER
166+
#if VIU_OCULUSVR_AVATAR
166167
private class RenderModelCreator : RenderModelHook.RenderModelCreator
167168
{
168169
private uint m_index = INVALID_DEVICE_INDEX;
@@ -250,7 +251,7 @@ private bool IsHand()
250251
return m_index == s_leftHandIndex || m_index == s_rightHandIndex;
251252
}
252253
}
253-
254+
#endif
254255
private static OculusVRModule s_moduleInstance;
255256
#endif
256257

0 commit comments

Comments
 (0)