unity-atoms/Packages/BaseAtoms/Editor/Editors/Events/StringEventEditor.cs

15 lines
462 B
C#
Raw Normal View History

2020-03-01 20:26:06 -05:00
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityEngine.UIElements;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Event property drawer of type `string`. Inherits from `AtomEventEditor&lt;string, StringEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomEditor(typeof(StringEvent))]
public sealed class StringEventEditor : AtomEventEditor<string, StringEvent> { }
}
#endif