private void ChestConfigurationInspector(ref HipsTarget.TargetedChestBone chest) { chest.bone.transform = (Transform)EditorGUILayout.ObjectField("Chest", chest.bone.transform, typeof(Transform), true); if (chest.bone.transform != null) { EditorGUI.indentLevel++; EditorGUILayout.BeginHorizontal(); chest.bone.maxAngle = EditorGUILayout.Slider("Max Angle", chest.bone.maxAngle, 0, 180); if (GUILayout.Button("R", GUILayout.Width(20))) { chest.bone.maxAngle = HipsTarget.maxChestAngle; } EditorGUILayout.EndHorizontal(); EditorGUI.indentLevel--; } }
private void UpdateChestBones(HipsTarget.TargetedChestBone chest) { }
private void InitChestConfiguration(HipsTarget.TargetedChestBone upperLeg) { }