generated from raccoon/vrchat-project-template
Added scripts stub
This commit is contained in:
21
Assets/hwm/Editor/HWMSetupEditor.cs
Normal file
21
Assets/hwm/Editor/HWMSetupEditor.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user