-------------------------------------------------------------------------------- -- Handler.......... : onGameStart -- Author........... : -- Description...... : -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function CarDemoMain.onGameStart ( ) -------------------------------------------------------------------------------- this.setupHUD ( ) this.setupScene ( ) this.setupCar ( ) object.setVisible ( scene.getTaggedObject ( application.getCurrentUserScene ( ), "Sea" ), false ) -- Setup camera target -- object.sendEvent ( application.getCurrentUserMainCamera ( ), "CarDemoCamera", "onSetTarget", this.hCar ( ) ) -------------------------------------------------------------------------------- end --------------------------------------------------------------------------------