2018-10-30 20:05:06 +01:00
|
|
|
using UnityEngine;
|
|
|
|
|
2020-03-05 00:48:39 +01:00
|
|
|
namespace UnityAtoms.BaseAtoms
|
2018-10-30 20:05:06 +01:00
|
|
|
{
|
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")]
|
2020-03-09 00:37:52 +01:00
|
|
|
public sealed class VoidEvent : AtomEvent<Void>
|
|
|
|
{
|
|
|
|
public override void Raise()
|
|
|
|
{
|
|
|
|
Raise(new Void());
|
|
|
|
}
|
|
|
|
}
|
2019-04-07 11:10:09 +02:00
|
|
|
}
|