You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,9 +111,9 @@ Base class for timers.
111
111
112
112
# 4. Additional Information
113
113
114
-
## InvokeMode
114
+
## TimerMode
115
115
When the timer's interval is shorter than the frame time, this parameter defines how the timer will trigger events.
116
-
### InvokeMode.Multi
116
+
### TimerMode.Multi
117
117
In this mode, the `Tick` event is called multiple times within a single frame.
118
118
```csharp
119
119
floatinterval=0.005f;
@@ -141,7 +141,7 @@ Output
141
141
Current time - 19,05369. Scheduled time - 19,05231.
142
142
Timer finished at 19,05369
143
143
```
144
-
### InvokeMode.Single
144
+
### TimerMode.Single
145
145
In this mode, the `Tick` method is called once per frame. The `FrameTicksCount` properties provide information about the number of timer triggers.
146
146
```csharp
147
147
floatinterval=0.005f;
@@ -287,7 +287,7 @@ Output
287
287
# 4. Дополнительно
288
288
## TimerMode
289
289
Если интервал срабатывания таймера меньше, чем интервал времени между кадрами, то этот параметр определяет как таймер будет вызывать событие.
290
-
### InvokeMode.MultipleDynamic и MultiplePrecalc
290
+
### TimerMode.MultipleDynamic и MultiplePrecalc
291
291
В этом режиме событие `Tick` будет вызываться несколько раз в течении одного кадра.
292
292
```csharp
293
293
floatinterval=0.005f;
@@ -315,7 +315,7 @@ timer.Start();
315
315
Current time - 19,05369. Scheduled time - 19,05231.
316
316
Timer finished at 19,05369
317
317
```
318
-
### InvokeMode.Single
318
+
### TimerMode.Single
319
319
В этом режиме событие `Tick` будет вызываться один раз в течении одного кадра. Свойство `FrameTicksCount` позволяет получить информацию о количестве срабатываний таймера.
0 commit comments