|
2 | 2 | // Licensed under the MIT License. See LICENSE in the project root for license information. |
3 | 3 |
|
4 | 4 | using Microsoft.MixedReality.Toolkit.Core.Interfaces.Devices; |
| 5 | +using Microsoft.MixedReality.Toolkit.Utilities; |
5 | 6 | using System.Collections.Generic; |
6 | | -using Microsoft.MixedReality.Toolkit.Input; |
7 | 7 | using UnityEngine; |
8 | 8 | using UnityEngine.EventSystems; |
9 | 9 | using UnityEngine.SceneManagement; |
10 | 10 | using UnityEngine.Serialization; |
11 | | -using Microsoft.MixedReality.Toolkit.Utilities; |
12 | | - |
13 | 11 |
|
14 | 12 | namespace Microsoft.MixedReality.Toolkit.Input |
15 | 13 | { |
@@ -38,7 +36,7 @@ protected class HandPanData |
38 | 36 | [FormerlySerializedAs("enabled")] |
39 | 37 | private bool isEnabled = true; |
40 | 38 | public bool Enabled { get => isEnabled; set => isEnabled = value; } |
41 | | - |
| 39 | + |
42 | 40 | [Header("Behavior")] |
43 | 41 | [SerializeField] |
44 | 42 | private bool enableZoom = false; |
@@ -69,12 +67,12 @@ protected class HandPanData |
69 | 67 | [Header("Geometry")] |
70 | 68 | [SerializeField] |
71 | 69 | [Tooltip("If affordace geometry is desired to emphasize the touch points(leftPoint and rightPoint) and the center point between them (reticle), assign them here.")] |
72 | | - private GameObject reticle; |
| 70 | + private GameObject reticle = null; |
73 | 71 | [SerializeField] |
74 | | - private GameObject leftPoint; |
| 72 | + private GameObject leftPoint = null; |
75 | 73 | [SerializeField] |
76 | | - private GameObject rightPoint; |
77 | | - |
| 74 | + private GameObject rightPoint = null; |
| 75 | + |
78 | 76 | #endregion Serialized Fields |
79 | 77 |
|
80 | 78 |
|
|
0 commit comments