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