public void ResetTimer(int sequence) { C_Timer timer = GetTimer(sequence); if (timer != null) { timer.Reset(); } }
public void ResetTimerTotalTime(int sequence, float totalTime) { C_Timer timer = GetTimer(sequence); if (timer != null) { timer.ResetTotalTime(totalTime); } }
public void PauseTimer(int sequence) { C_Timer timer = GetTimer(sequence); if (timer != null) { timer.Pause(); } }
public float GetLeftTime(int sequence) { C_Timer timer = GetTimer(sequence); if (timer != null) { return(timer.GetLeftTime()); } return(-1); }
public float GetTimerCurrent(int sequence) { C_Timer timer = GetTimer(sequence); if (timer != null) { return(timer.CurrentTime); } return(-1); }