Event: Script:OnUpdate
From Nomad DB
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 Time (time since previous frame)
end
MDE & WD2
OnUpdate()