unity-atoms/Packages/Core/Runtime/Actions/VoidAction.cs
2019-10-15 22:37:15 +02:00

25 lines
572 B
C#

using UnityAtoms;
namespace UnityAtoms
{
/// <summary>
/// Action of type `Void`. Inherits from `AtomAction&lt;Void&gt;`.
/// </summary>
[EditorIcon("atom-icon-purple")]
public abstract class VoidAction : AtomAction<Void>
{
/// <summary>
/// Do the Action.
/// </summary>
/// <param name="_">Dummy Void parameter.</param>
public override void Do(Void _)
{
Do();
}
/// <summary>
/// Do the Action.
/// </summary>
public abstract void Do();
}
}