Method OnUpdate OnUpdate() OnUpdate is called every frame while the scenario is playing Declaration protected virtual void OnUpdate()