unity-atoms/Packages/Core/Runtime/Actions/VoidAction.cs
Adam Ramberg c3bc59259f More WIP
2020-03-02 02:26:06 +01:00

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