ConstraintManagerInspector Class
Definition
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
Constructors
ConstraintManagerInspector() |
Methods
DrawConstraintManagerFoldout(GameObject, SerializedProperty, SerializedProperty, Boolean) |
Util method for drawing a consistent constraints section. Use this method in a component inspector for linking to a constraint manager. |
OnInspectorGUI() |