unity-atoms/Packages/BaseAtoms/Editor/Editors/EventInstancers/FloatEventInstancerEditor.cs
Gustavo Guimaraes 1e2ea61044
Instancer improvements (#172)
* Added Raise method and default base event for event instancers

* Added default value for Variable when base is null

* Added Event Instancer Raise editor
2020-07-01 08:32:07 +02:00

16 lines
492 B
C#

#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityEngine.UIElements;
using UnityAtoms.Editor;
namespace UnityAtoms.BaseAtoms.Editor
{
/// <summary>
/// Event property drawer of type `float`. Inherits from `AtomEventInstancerEditor&lt;float, FloatEvent&gt;`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomEditor(typeof(FloatEventInstancer))]
public sealed class FloatEventInstancerEditor : AtomEventInstancerEditor<float, FloatEvent> { }
}
#endif