This commit is contained in:
CroakFang
2023-07-10 15:46:09 +08:00
parent b6f6267491
commit abb4d90a62
149 changed files with 21 additions and 11 deletions
@@ -0,0 +1,21 @@
using UnityEngine;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
namespace RootMotion.Dynamics {
[CustomEditor(typeof(PuppetMasterHumanoidConfig))]
public class PuppetMasterHumanoidConfigInspector : Editor {
private PuppetMasterHumanoidConfig script { get { return target as PuppetMasterHumanoidConfig; } }
public override void OnInspectorGUI() {
foreach (PuppetMasterHumanoidConfig.HumanoidMuscle m in script.muscles) {
m.name = m.bone.ToString();
}
DrawDefaultInspector ();
}
}
}