unity-atoms/Packages/Core/Runtime/Actions/VoidAction.cs

19 lines
446 B
C#
Raw Normal View History

2018-10-30 15:05:06 -04:00
namespace UnityAtoms
{
2019-10-15 14:44:25 -04:00
/// <summary>
2019-10-15 16:37:15 -04:00
/// Action of type `Void`. Inherits from `AtomAction&lt;Void&gt;`.
2019-10-15 14:44:25 -04:00
/// </summary>
2019-10-14 10:51:54 -04:00
[EditorIcon("atom-icon-purple")]
public abstract class VoidAction : AtomAction<Void>
2018-10-30 15:05:06 -04:00
{
2019-10-15 14:44:25 -04:00
/// <summary>
/// Do the Action.
/// </summary>
/// <param name="_">Dummy Void parameter.</param>
2018-10-30 15:05:06 -04:00
public override void Do(Void _)
{
Do();
}
}
}