CompressableButtonInspector Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inspector for CompressableButton, includes the logic for the plane distance setting editor tool which allows for modification of the Start Push Distance, Max Push Distance, Press Distance and Release Distance.
Note: This is the inspector for PressableButtonHoloLens2.
C++
public ref class CompressableButtonInspector : Microsoft::MixedReality::Toolkit::Experimental::InteractiveElement::Editor::BaseInteractiveElementInspector
[UnityEditor.CustomEditor(typeof(Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.CompressableButton))]
public class CompressableButtonInspector : Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.Editor.BaseInteractiveElementInspector
[<UnityEditor.CustomEditor(typeof(Microsoft.MixedReality.Toolkit.Experimental.InteractiveElement.CompressableButton))>]
type CompressableButtonInspector = class
inherit BaseInteractiveElementInspector
Public Class CompressableButtonInspector
Inherits BaseInteractiveElementInspector
- Inheritance
- Attributes
-
UnityEditor.CustomEditorAttribute
Producto | Versiones |
---|---|
MRTK2 Unity 2019 | 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.6.0, 2.7.0, 2.8.0 |