unity-atoms/Packages/BaseAtoms/Runtime/Events/VoidEvent.cs
2020-03-09 00:37:52 +01:00

18 lines
434 B
C#

using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event of type `Void`. Inherits from `AtomEvent&lt;Void&gt;`.
/// </summary>
[EditorIcon("atom-icon-cherry")]
[CreateAssetMenu(menuName = "Unity Atoms/Events/Void", fileName = "VoidEvent")]
public sealed class VoidEvent : AtomEvent<Void>
{
public override void Raise()
{
Raise(new Void());
}
}
}