mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-22 16:18:24 -05:00
1e2ea61044
* Added Raise method and default base event for event instancers * Added default value for Variable when base is null * Added Event Instancer Raise editor
16 lines
492 B
C#
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<float, FloatEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
|
|
/// </summary>
|
|
[CustomEditor(typeof(FloatEventInstancer))]
|
|
public sealed class FloatEventInstancerEditor : AtomEventInstancerEditor<float, FloatEvent> { }
|
|
}
|
|
#endif
|