unity-atoms/Packages/FSM/Editor/Editors/FiniteStateMachineInstancerEditor.cs

18 lines
515 B
C#
Raw Normal View History

2020-03-11 17:09:32 -04:00
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();
}
}
}