/* * Returns all solver SeiralizedProperties * */ public static SerializedContent[] FindContent(SerializedProperty prop) { SerializedContent[] c = IKSolverTrigonometricInspector.FindContent(prop); Array.Resize(ref c, c.Length + 4); c[c.Length - 1] = new SerializedContent(prop.FindPropertyRelative("goal"), new GUIContent("Avatar IK Goal", "Avatar IK Goal here is only used by the 'Arm' bend modifier.")); c[c.Length - 2] = new SerializedContent(prop.FindPropertyRelative("maintainRotationWeight"), new GUIContent("Maintain Rotation Weight", "Weight of rotating the last bone back to the rotation it had before solving IK.")); c[c.Length - 3] = new SerializedContent(prop.FindPropertyRelative("bendModifier"), new GUIContent("Bend Modifier", "Bend normal modifier.")); c[c.Length - 4] = new SerializedContent(prop.FindPropertyRelative("bendModifierWeight"), new GUIContent("Bend Modifier Weight", "Weight of the bend modifier.")); return(c); }
protected override SerializedContent[] FindContent() { return(IKSolverTrigonometricInspector.FindContent(solver)); }