Skip to content

Commit 26bdbfe

Browse files
committed
Disable warnings
1 parent 4a7156c commit 26bdbfe

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Packages/webxr-interactions/Runtime/InputSystem/WebXRInputSystem.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ namespace WebXR.InputSystem
2020
#endif
2121
public class WebXRInputSystem : MonoBehaviour
2222
{
23+
#pragma warning disable CS0067
2324
public static event Action OnLeftControllerProfiles;
24-
2525
public static event Action OnRightControllerProfiles;
26+
#pragma warning restore CS0067
2627

2728
private static string[] leftProfiles = null;
2829
private static string[] rightProfiles = null;
29-
private static bool hasLeftProfiles = false;
30-
private static bool hasRightProfiles = false;
3130

3231
public static string[] GetLeftProfiles()
3332
{
@@ -42,6 +41,8 @@ public static string[] GetRightProfiles()
4241
private static bool initialized = false;
4342
private static WebXRController left = null;
4443
private static WebXRController right = null;
44+
private static bool hasLeftProfiles = false;
45+
private static bool hasRightProfiles = false;
4546

4647
#if XR_HANDS_1_1_OR_NEWER
4748
private static WebXRHandsSubsystem webXRHandsSubsystem = null;

Packages/webxr-interactions/Runtime/Scripts/MixedRealityCaptureController.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ private enum ControllerState
113113
#if UNITY_INPUT_SYSTEM_1_4_4_OR_NEWER
114114
[SerializeField]
115115
#endif
116+
#pragma warning disable CS0414
116117
private bool useInputSystem = false;
118+
#pragma warning restore CS0414
117119
#if UNITY_INPUT_SYSTEM_1_4_4_OR_NEWER
118120
[SerializeField]
119121
private InputActionProperty rightPosition;

0 commit comments

Comments
 (0)