Skip to content

Commit 74fb8f2

Browse files
authored
Update README.md
1 parent 3964ac9 commit 74fb8f2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ Base class for timers.
111111
 
112112
# 4. Additional Information
113113

114-
## InvokeMode
114+
## TimerMode
115115
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
117117
In this mode, the `Tick` event is called multiple times within a single frame.
118118
``` csharp
119119
float interval = 0.005f;
@@ -141,7 +141,7 @@ Output
141141
Current time - 19,05369. Scheduled time - 19,05231.
142142
Timer finished at 19,05369
143143
```
144-
### InvokeMode.Single
144+
### TimerMode.Single
145145
In this mode, the `Tick` method is called once per frame. The `FrameTicksCount` properties provide information about the number of timer triggers.
146146
``` csharp
147147
float interval = 0.005f;
@@ -287,7 +287,7 @@ Output
287287
# 4. Дополнительно
288288
## TimerMode
289289
Если интервал срабатывания таймера меньше, чем интервал времени между кадрами, то этот параметр определяет как таймер будет вызывать событие.
290-
### InvokeMode.MultipleDynamic и MultiplePrecalc
290+
### TimerMode.MultipleDynamic и MultiplePrecalc
291291
В этом режиме событие `Tick` будет вызываться несколько раз в течении одного кадра.
292292
``` csharp
293293
float interval = 0.005f;
@@ -315,7 +315,7 @@ timer.Start();
315315
Current time - 19,05369. Scheduled time - 19,05231.
316316
Timer finished at 19,05369
317317
```
318-
### InvokeMode.Single
318+
### TimerMode.Single
319319
В этом режиме событие `Tick` будет вызываться один раз в течении одного кадра. Свойство `FrameTicksCount` позволяет получить информацию о количестве срабатываний таймера.
320320
``` csharp
321321
float interval = 0.005f;

0 commit comments

Comments
 (0)