protected override void Draw() { UnityEditor.EditorGUIUtility.labelWidth = 110; UnityEditor.EditorGUIUtility.fieldWidth = 30; repetitions.DisplayLayout(new GUIContent("Repetitions", "[rep = -1] Repeat until fail.\n[rep > 0] Repeat this number of times unless fail.")); GUILayout.BeginHorizontal(); child.DisplayLayout("Repeat"); GUILayout.EndHorizontal(); }
protected override void Draw() { UnityEditor.EditorGUIUtility.labelWidth = 60; UnityEditor.EditorGUIUtility.fieldWidth = 40; animator.DisplayLayout("Animator"); animatorLayer.DisplayLayout("Layer"); animationClip.DisplayLayout("Clip"); GUILayout.BeginHorizontal(); child.DisplayLayout("After waiting"); GUILayout.EndHorizontal(); }
protected override void Draw() { a.DisplayLayout("a"); b.DisplayLayout("b"); returnVar.DisplayLayout("Return"); }
protected override void Draw() { min.DisplayLayout("min"); max.DisplayLayout("max"); returnVar.DisplayLayout("Return"); }
protected override void Draw() { layer.DisplayLayout("layer"); returnVar.DisplayLayout("Return"); }