mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-23 00:28:23 -05:00
18 lines
515 B
C#
18 lines
515 B
C#
|
using UnityEditor;
|
||
|
|
||
|
namespace UnityAtoms.FSM.Editor
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Custom property drawer for type `FiniteStateMachineInstancer`.
|
||
|
/// </summary>
|
||
|
[CustomEditor(typeof(FiniteStateMachineInstancer))]
|
||
|
public sealed class FiniteStateMachineInstancerEditor : UnityEditor.Editor
|
||
|
{
|
||
|
public override void OnInspectorGUI()
|
||
|
{
|
||
|
DrawPropertiesExcluding(serializedObject, new string[] { "_base" });
|
||
|
serializedObject.ApplyModifiedProperties();
|
||
|
}
|
||
|
}
|
||
|
}
|