mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 00:58:59 -05:00
19 lines
433 B
C#
19 lines
433 B
C#
using UnityEngine;
|
|
using UnityAtoms;
|
|
|
|
namespace UnityAtoms
|
|
{
|
|
/// <summary>
|
|
/// Event of type `Void`. Inherits from `AtomEvent<Void>`.
|
|
/// </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());
|
|
}
|
|
}
|
|
}
|