-
Notifications
You must be signed in to change notification settings - Fork 0
API.Util.Timers
JuDelCo edited this page Jun 1, 2021
·
6 revisions
Namespace: Ju.Time
where T : ITimeDeltaEvent
void Dispose();
Timer(float seconds);
Timer(float seconds, Action onCompleted);
Timer(float seconds, Action onCompleted, Func<bool> updateCondition);
Timer(float seconds, Action onCompleted, IService service);
Timer(float seconds, Action onCompleted, State state);
void Reset();
void Reset(Span elapsed);
void Stop();
Span GetDuration();
Span GetElapsedTime();
Span GetTimeLeft();
where T : ITimeEvent
void Dispose();
FrameTimer(int frames);
FrameTimer(int frames, Action onCompleted);
FrameTimer(int frames, Action onCompleted, Func<bool> updateCondition);
FrameTimer(int frames, Action onCompleted, IService service);
FrameTimer(int frames, Action onCompleted, State state);
void Reset();
void Stop();
int GetDuration();
int GetElapsedFrames();
int GetFramesLeft();
implicit operator float(TimeSince timeSince);
implicit operator TimeSince(float seconds);
implicit operator float(TimeSinceUnscaled timeSince);
implicit operator TimeSinceUnscaled(float seconds);
implicit operator float(TimeUntil timeUntil);
implicit operator TimeUntil(float seconds);
implicit operator float(TimeUntilUnscaled timeUntil);
implicit operator TimeUntilUnscaled(float seconds);
Return to [Home]
- Home
- Install
- Manual
-
Core API
- Services:
- Util:
-
Unity API
- Services:
- Integrations: