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
17 lines
546 B
C#
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 `GameObject`. Inherits from `AtomEventInstancerEditor<GameObject, GameObjectEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
|
|
/// </summary>
|
|
[CustomEditor(typeof(GameObjectEventInstancer))]
|
|
public sealed class GameObjectEventInstancerEditor : AtomEventInstancerEditor<GameObject, GameObjectEvent> { }
|
|
}
|
|
#endif
|