FlightKit
Awesome Flight Simulator Kit
FlightKit.ControlsPrefs Class Reference

Controls persistance of user's preferred controls scheme. More...

Public Member Functions

delegate void OnTiltEnabledAction ()
 
delegate void OnTiltDisabledAction ()
 

Properties

static bool IsRollEnabled [get, set]
 Whether roll of airplane is enabled. More...
 
static bool IsMouseEnabled [get, set]
 Whether steering with mouse is enabled. More...
 
static bool IsTiltEnabled [get, set]
 Whether steering with tilt on mobile is enabled. More...
 
static bool IsInversePitch [get, set]
 Vertical axes of controls may be inverted. More...
 

Events

static OnTiltEnabledAction OnTiltEnabledEvent
 This event is fired once user changes the mobile controls to tilt. Used internally to switch controls schemes. More...
 
static OnTiltDisabledAction OnTiltDisabledEvent
 This event is fired once user changes the mobile controls to touch. Used internally to switch controls schemes. More...
 

Detailed Description

Controls persistance of user's preferred controls scheme.

Property Documentation

bool FlightKit.ControlsPrefs.IsInversePitch
staticgetset

Vertical axes of controls may be inverted.

Returns
bool FlightKit.ControlsPrefs.IsMouseEnabled
staticgetset

Whether steering with mouse is enabled.

Returns
bool FlightKit.ControlsPrefs.IsRollEnabled
staticgetset

Whether roll of airplane is enabled.

Returns
bool FlightKit.ControlsPrefs.IsTiltEnabled
staticgetset

Whether steering with tilt on mobile is enabled.

Returns

Event Documentation

OnTiltDisabledAction FlightKit.ControlsPrefs.OnTiltDisabledEvent
static

This event is fired once user changes the mobile controls to touch. Used internally to switch controls schemes.

OnTiltEnabledAction FlightKit.ControlsPrefs.OnTiltEnabledEvent
static

This event is fired once user changes the mobile controls to tilt. Used internally to switch controls schemes.


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