mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-23 08:38:23 -05:00
24 lines
552 B
C#
24 lines
552 B
C#
namespace UnityAtoms
|
|
{
|
|
/// <summary>
|
|
/// Action of type Void. Inherits from `AtomAction<Void>`.
|
|
/// </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();
|
|
}
|
|
}
|