Example #1
0
 public static ModuleTimer SetTimeout(Action<ModuleTimer> p_Callback, double p_Interval)
 {
     var s_Timer = new ModuleTimer(p_Callback, p_Interval);
     return s_Timer;
 }
Example #2
0
        public static ModuleTimer SetInterval(Action <ModuleTimer> p_Callback, double p_Interval)
        {
            var s_Timer = new ModuleTimer(p_Callback, p_Interval, true);

            return(s_Timer);
        }