FlightKit
Awesome Flight Simulator Kit
FlightKit.TiltInputCalibration Class Reference

Calibrates the vertical axis of tilt input of airplane so that the horizont position can be set as it's comfortable for the user. More...

Inheritance diagram for FlightKit.TiltInputCalibration:

Public Member Functions

virtual void CalibrateDelayed ()
 Calibrate after a pause defined in delayAfterStartPlay. More...
 
virtual void Calibrate ()
 Calibrate the vertical axis offset. More...
 

Public Attributes

GameObject calibrationPopup
 GameObject that contains UI that lets the user know calibration is in progress. More...
 
float delayAfterStartPlay = 8f
 Delay before calibration after the user presses Play button. More...
 

Detailed Description

Calibrates the vertical axis of tilt input of airplane so that the horizont position can be set as it's comfortable for the user.

Member Function Documentation

virtual void FlightKit.TiltInputCalibration.Calibrate ( )
virtual

Calibrate the vertical axis offset.

virtual void FlightKit.TiltInputCalibration.CalibrateDelayed ( )
virtual

Calibrate after a pause defined in delayAfterStartPlay.

Member Data Documentation

GameObject FlightKit.TiltInputCalibration.calibrationPopup

GameObject that contains UI that lets the user know calibration is in progress.

float FlightKit.TiltInputCalibration.delayAfterStartPlay = 8f

Delay before calibration after the user presses Play button.


The documentation for this class was generated from the following file: