public override void OnInspectorGUI() { IKChain2D chain = m_Solver.GetChain(0); serializedObject.Update(); EditorGUILayout.PropertyField(m_EffectorProperty, Contents.effectorLabel); EditorGUILayout.PropertyField(m_TargetProperty, Contents.targetLabel); EditorGUILayout.IntSlider(m_TransformCountProperty, 0, IKUtility.GetMaxChainCount(chain), Contents.chainLengthLabel); EditorGUILayout.PropertyField(m_IterationsProperty, Contents.iterationsLabel); EditorGUILayout.PropertyField(m_ToleranceProperty, Contents.toleranceLabel); DrawCommonSolverInspector(); serializedObject.ApplyModifiedProperties(); }