Adam Ramberg c3bc59259f More WIP
2020-03-02 02:26:06 +01:00

18 lines
402 B
C#

using UnityEngine;
using UnityAtoms.BaseAtoms;
namespace UnityAtoms.Examples
{
[CreateAssetMenu(menuName = "Unity Atoms/Examples/Intro/Reset Health", fileName = "ResetHealth")]
public class ResetHealth : VoidAction
{
[SerializeField]
private IntVariable _variable = null;
public override void Do()
{
_variable.Reset(true);
}
}
}