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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Assets/hwm/Editor/HWMSetupEditor.cs.meta
Normal file
11
Assets/hwm/Editor/HWMSetupEditor.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 909adcc30362c8d44a3fef10070fe4ad
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user