mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 17:17:47 -05:00
19 lines
396 B
C#
19 lines
396 B
C#
using UnityEngine;
|
|
using UnityEngine.Serialization;
|
|
|
|
namespace UnityAtoms
|
|
{
|
|
[CreateAssetMenu(menuName = "Unity Atoms/Molecules/Timer/Stop Timer")]
|
|
public sealed class StopTimer : VoidAction
|
|
{
|
|
[FormerlySerializedAs("Timer")]
|
|
[SerializeField]
|
|
private Timer _timer = null;
|
|
|
|
public override void Do()
|
|
{
|
|
_timer.Stop();
|
|
}
|
|
}
|
|
}
|