/// <summary> /// Should only be made by the TimerManager /// </summary> /// <param name="execute"></param> /// <param name="settedTime"></param> public Timer(ExecuteAfterTimer execute, float settedTime) { this.executeAfterTimerRunsOut = execute; this.settedTime = settedTime; methodeInfo = execute.Method.ToString(); }
/// <summary> /// Should only be made by the TimerManager /// </summary> /// <param name="execute"></param> /// <param name="time"></param> public Timer(ExecuteAfterTimer execute, float time) { this.executeAfterTimerRunsOut = execute; this.time = time; }