OnGameTick: Difference between revisions
From Onset Developer Wiki
No edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{ | {{GameEvents}} |
Latest revision as of 08:38, 16 January 2020
Description
Called on execution of the main thread. This is typically every frame (FPS) on clients. Tick rate on the server varies depending on the load. Use GetServerTickRate on the server to get that rate.
Syntax
OnGameTick(DeltaSeconds)
Parameters
- DeltaSeconds
Time in seconds that passed since the last tick.
Example
OnGameTick()