File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Packages/webxr-interactions/Runtime Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,13 @@ namespace WebXR.InputSystem
20
20
#endif
21
21
public class WebXRInputSystem : MonoBehaviour
22
22
{
23
+ #pragma warning disable CS0067
23
24
public static event Action OnLeftControllerProfiles ;
24
-
25
25
public static event Action OnRightControllerProfiles ;
26
+ #pragma warning restore CS0067
26
27
27
28
private static string [ ] leftProfiles = null ;
28
29
private static string [ ] rightProfiles = null ;
29
- private static bool hasLeftProfiles = false ;
30
- private static bool hasRightProfiles = false ;
31
30
32
31
public static string [ ] GetLeftProfiles ( )
33
32
{
@@ -42,6 +41,8 @@ public static string[] GetRightProfiles()
42
41
private static bool initialized = false ;
43
42
private static WebXRController left = null ;
44
43
private static WebXRController right = null ;
44
+ private static bool hasLeftProfiles = false ;
45
+ private static bool hasRightProfiles = false ;
45
46
46
47
#if XR_HANDS_1_1_OR_NEWER
47
48
private static WebXRHandsSubsystem webXRHandsSubsystem = null ;
Original file line number Diff line number Diff line change @@ -113,7 +113,9 @@ private enum ControllerState
113
113
#if UNITY_INPUT_SYSTEM_1_4_4_OR_NEWER
114
114
[ SerializeField ]
115
115
#endif
116
+ #pragma warning disable CS0414
116
117
private bool useInputSystem = false ;
118
+ #pragma warning restore CS0414
117
119
#if UNITY_INPUT_SYSTEM_1_4_4_OR_NEWER
118
120
[ SerializeField ]
119
121
private InputActionProperty rightPosition ;
You can’t perform that action at this time.
0 commit comments