mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-18 20:30:08 +08:00
a300622bb2
* chore: add support for synced/saved settings on menu actions * feat: move action defaults to control group * chore: finish the control group ui updates * docs: update tutorial * docs: update control group documentation * docs/ui: menu install target UI and docs
16 lines
513 B
C#
16 lines
513 B
C#
using UnityEditor;
|
|
|
|
namespace nadena.dev.modular_avatar.core.editor
|
|
{
|
|
[CustomEditor(typeof(ModularAvatarMenuInstallTarget))]
|
|
internal class MenuInstallTargetEditor : MAEditorBase
|
|
{
|
|
protected override void OnInnerInspectorGUI()
|
|
{
|
|
serializedObject.Update();
|
|
EditorGUILayout.PropertyField(
|
|
serializedObject.FindProperty(nameof(ModularAvatarMenuInstallTarget.installer)));
|
|
serializedObject.ApplyModifiedProperties();
|
|
}
|
|
}
|
|
} |