generated from raccoon/vrchat-project-template
22 lines
463 B
C#
22 lines
463 B
C#
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
namespace RiggingTools.FacialAnimation
|
|
{
|
|
[CustomEditor(typeof(HWMSetup))]
|
|
public class HWMSetupEditor : Editor
|
|
{
|
|
public override void OnInspectorGUI()
|
|
{
|
|
DrawDefaultInspector();
|
|
|
|
var script = (HWMSetup)target;
|
|
|
|
if (GUILayout.Button("Generate Anim Controller"))
|
|
{
|
|
script.GenerateAnimationController();
|
|
}
|
|
}
|
|
}
|
|
}
|