ConstraintManagerInspector 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.
Custom inspector for constraint manager. Offers two modes depending on if auto constraint selection is active or not. In auto constraint selection mode, all constraints attached to the current game object will be displayed with respective goto buttons as well as an add button that allows adding new constraint components to the game object. In manual constraint selection mode, a list of user configured constraints is shown with options to modify the list, goto buttons as well as adding new constraints to the game object.
public ref class ConstraintManagerInspector : UnityEditor::Editor
[UnityEditor.CanEditMultipleObjects]
[UnityEditor.CustomEditor(typeof(Microsoft.MixedReality.Toolkit.UI.ConstraintManager), true)]
public class ConstraintManagerInspector : UnityEditor.Editor
[<UnityEditor.CanEditMultipleObjects>]
[<UnityEditor.CustomEditor(typeof(Microsoft.MixedReality.Toolkit.UI.ConstraintManager), true)>]
type ConstraintManagerInspector = class
inherit Editor
Public Class ConstraintManagerInspector
Inherits Editor
- Inheritance
-
UnityEditor.EditorConstraintManagerInspector
- Attributes
-
UnityEditor.CanEditMultipleObjectsAttribute UnityEditor.CustomEditorAttribute
Draw |
Util method for drawing a consistent constraints section. Use this method in a component inspector for linking to a constraint manager. |
On |
Product | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |