Skip to content

Commit ec5766e

Browse files
committed
Remove extra pragmas
1 parent e600f6a commit ec5766e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Assets/MRTK/Services/InputSystem/InputSystemGlobalListener.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ protected virtual void OnEnable()
2222
{
2323
if (CoreServices.InputSystem != null && !lateInitialize)
2424
{
25-
#pragma warning disable 0618
2625
CoreServices.InputSystem.Register(gameObject);
27-
#pragma warning restore 0618
2826
}
2927
}
3028

@@ -41,17 +39,13 @@ protected virtual async void Start()
4139
}
4240

4341
lateInitialize = false;
44-
#pragma warning disable 0618
4542
CoreServices.InputSystem.Register(gameObject);
46-
#pragma warning restore 0618
4743
}
4844
}
4945

5046
protected virtual void OnDisable()
5147
{
52-
#pragma warning disable 0618
5348
CoreServices.InputSystem?.Unregister(gameObject);
54-
#pragma warning restore 0618
5549
}
5650

5751
/// <summary>

0 commit comments

Comments
 (0)