Adding headers to AttachToController scripts
This commit is contained in:
Родитель
12dc447230
Коммит
4fe8c4d1fd
|
@ -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]
|
||||||
|
|
Загрузка…
Ссылка в новой задаче