-
Notifications
You must be signed in to change notification settings - Fork 1
API.Util.Clocks
JuDelCo edited this page May 20, 2021
·
5 revisions
Namespace: Ju.Time
where T : ITimeDeltaEvent
void Dispose();
Clock();
Clock(float elapsedSeconds);
Clock(Func<bool> updateCondition);
Clock(float elapsedSeconds, Func<bool> updateCondition);
Clock(IService service);
Clock(float elapsedSeconds, IService service);
Clock(State state);
Clock(float elapsedSeconds, State state);
Span Reset(float elapsedSeconds = 0f);
Span GetElapsedTime();
Precise clock using System.DateTime instead of time events (will ignore time scale).
ClockPrecise();
ClockPrecise(float elapsedSeconds);
Span Reset(float elapsedSeconds = 0f);
Span GetTimeElapsed();
where T : ITimeEvent
void Dispose();
FrameClock();
FrameClock(int elapsedFrames);
FrameClock(Func<bool> updateCondition);
FrameClock(int elapsedFrames, Func<bool> updateCondition);
int Reset(int elapsedFrames = 0);
int GetElapsedFrames();
Return to [Home]
- Home
- Install
- Manual
-
Core API
- Services:
- Util:
-
Unity API
- Services:
- Integrations: