unity-atoms/Packages/Core/Runtime/Actions/VoidAction.cs
2019-10-15 20:44:25 +02:00

24 lines
552 B
C#

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();
}
}