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