using System; using UnityEngine; using asim.unity.utils; public class TimerActionExample : MonoBehaviour { void Start() { Action action = () => PrintText("This was Ran After 3 Sec"); action.RunAfterDelay(3); Action action2 = () => PrintText("This was Ran After 5 Sec"); action2.RunRepeat(5, 2); } void PrintText(string text) { print(text); } }