Event: Script:OnUpdate
From Nomad DB
Revision as of 21:53, 14 April 2021 by Administrator (talk | contribs)
This event is called every frame. Be careful performing heavy calculations here.
Registration
This event is registered on the Script Table.
Usage
WDL
In Watch Dogs Legion, you can access the game & update time.
function script:OnUpdate(time, dt)
-- time = Game Time
-- dt = Delta Tiem
end
MDE & WD2
OnUpdate()