mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-13 14:04:29 -05:00
20 lines
428 B
C#
20 lines
428 B
C#
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
namespace UniVRM10
|
|
{
|
|
[CustomEditor(typeof(VRM10SpringBoneCollider))]
|
|
class VRM10SpringBoneColliderEditor : Editor
|
|
{
|
|
public override void OnInspectorGUI()
|
|
{
|
|
if (VRM10Window.Active == target)
|
|
{
|
|
GUI.backgroundColor = Color.green;
|
|
Repaint();
|
|
}
|
|
base.OnInspectorGUI();
|
|
}
|
|
}
|
|
}
|