unity-atoms/Packages/BaseAtoms/Editor/Editors/EventInstancers/Collider2DEventInstancerEditor.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

17 lines
546 B
C#

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