2019-10-15 22:37:15 +02:00

19 lines
433 B
C#

using UnityEngine;
using UnityAtoms;
namespace UnityAtoms
{
/// <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 void Raise()
{
Raise(new Void());
}
}
}