Adding headers to AttachToController scripts

This commit is contained in:
Kurtis Eveleigh 2017-12-07 12:41:11 -08:00
Родитель 12dc447230
Коммит 4fe8c4d1fd
4 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -18,6 +18,7 @@ namespace HoloToolkit.Unity.ControllerExamples
Right Right
} }
[Header("BrushSelector Elements")]
[SerializeField] [SerializeField]
private LineObjectCollection brushCollection; private LineObjectCollection brushCollection;
[SerializeField] [SerializeField]
@ -254,7 +255,7 @@ namespace HoloToolkit.Unity.ControllerExamples
touchpadRenderer.material = originalTouchpadMaterial; touchpadRenderer.material = originalTouchpadMaterial;
} }
// Unubscribe from input // Unsubscribe from input
InteractionManager.InteractionSourceUpdated -= InteractionSourceUpdated; InteractionManager.InteractionSourceUpdated -= InteractionSourceUpdated;
} }

Просмотреть файл

@ -28,6 +28,7 @@ namespace HoloToolkit.Unity.ControllerExamples
get { return selectedColor; } get { return selectedColor; }
} }
[Header("ColorPickerWheel Elements")]
[SerializeField] [SerializeField]
private bool visible = false; private bool visible = false;
[SerializeField] [SerializeField]

Просмотреть файл

@ -44,7 +44,7 @@ namespace HoloToolkit.Unity.ControllerExamples
get { return availableMeshes.Length; } get { return availableMeshes.Length; }
} }
[Header("Objects and materials")] [Header("Objects and Materials")]
[SerializeField] [SerializeField]
private Transform displayParent; private Transform displayParent;
[SerializeField] [SerializeField]

Просмотреть файл

@ -12,6 +12,7 @@ namespace HoloToolkit.Unity.Controllers
/// </summary> /// </summary>
public class PointerInput : AttachToController public class PointerInput : AttachToController
{ {
[Header("PointerInput Elements")]
[SerializeField] [SerializeField]
private PhysicsPointer pointer = null; private PhysicsPointer pointer = null;
[SerializeField] [SerializeField]