2018-10-30 20:05:06 +01:00
|
|
|
using UnityEngine;
|
2019-10-15 22:37:15 +02:00
|
|
|
using UnityAtoms;
|
2018-10-30 20:05:06 +01:00
|
|
|
|
|
|
|
namespace UnityAtoms
|
|
|
|
{
|
2019-10-15 22:37:15 +02:00
|
|
|
/// <summary>
|
|
|
|
/// Event of type `Void`. Inherits from `AtomEvent<Void>`.
|
|
|
|
/// </summary>
|
2019-10-14 16:51:54 +02:00
|
|
|
[EditorIcon("atom-icon-cherry")]
|
2019-05-29 18:52:27 +02:00
|
|
|
[CreateAssetMenu(menuName = "Unity Atoms/Events/Void", fileName = "VoidEvent")]
|
2019-09-25 21:05:06 +02:00
|
|
|
public sealed class VoidEvent : AtomEvent<Void>
|
2018-10-30 20:05:06 +01:00
|
|
|
{
|
|
|
|
public void Raise()
|
|
|
|
{
|
|
|
|
Raise(new Void());
|
|
|
|
}
|
|
|
|
}
|
2019-04-07 11:10:09 +02:00
|
|
|
}
|