/// <summary> /// Creates a timer which continuously fires at the specified interval /// </summary> /// <param name="interval"></param> /// <param name="callback"></param> public Timer Every(float interval, Action callback) { return(new Timer(timer.Repeat(interval, -1, callback, plugin))); }
/// <summary> /// Creates a timer which continuously fires at the specified interval /// </summary> /// <param name="interval"></param> /// <param name="callback"></param> public void Every(float interval, Action callback) { timer.Repeat(interval, -1, callback, plugin); }