The Flock  0.00.001
Public Member Functions | Public Attributes | List of all members
Controls Class Reference
Inheritance diagram for Controls:
AbstractMonoBehaviour IDebuggable ITransform

Public Member Functions

override void Start ()
 Start is called just before any of the Update methods is called the first time. More...
 
override void Update ()
 Update is called every frame. More...
 
- Public Member Functions inherited from AbstractMonoBehaviour
virtual void Awake ()
 Awake is called when the script instance is being loaded. More...
 
virtual void LateUpdate ()
 LateUpdate is called every frame after all Update functions have been called. More...
 
virtual void FixedUpdate ()
 This function is called every fixed framerate frame. More...
 
virtual void OnGUI ()
 OnScreen GUI. More...
 
virtual void OnDrawGizmos ()
 OnDraw Gizmos. More...
 
virtual void OnDrawGizmosSelected ()
 OnDraw Gizmos selected. More...
 
virtual void OnEnable ()
 This function is called when the object becomes enabled and active. More...
 
virtual void OnDisable ()
 This function is called when the behaviour becomes disabled or inactive. More...
 
virtual void OnBecameVisible ()
 OnBecameVisible is called when the renderer became visible by any camera. More...
 
virtual void OnBecameInvisible ()
 OnBecameInvisible is called when the renderer is no longer visible by any camera. More...
 
virtual void OnDestroy ()
 This function is called before the gameobject is been destroyed. More...
 
GetInterfaceComponent< I > ()
 Gets the interface component. More...
 
void logDebug (string message)
 
void logWarning (string message)
 
void logError (string message)
 

Public Attributes

bool invertX
 
bool invertY
 
string[] connectedGamepads
 
Gamepad gamepad
 
bool usingGamepad
 
float horizontal
 
float vertical
 
float camHorizontal
 
float camVertical
 
bool run
 
bool jump
 
bool attack
 
bool start
 
bool select
 
float movementFriction
 
float movementThreshold
 
float cameraFriction
 
float cameraThreshold
 
float mouseSensitivity
 
float gamepadSensitivity
 
float mouseDeadzone
 
bool mouseDeadzoned
 

Additional Inherited Members

- Static Public Member Functions inherited from AbstractMonoBehaviour
static List< I > FindObjectsOfInterface< I > ()
 Finds the objects of interface. More...
 
- Properties inherited from AbstractMonoBehaviour
bool debug [get, set]
 
Transform transform [get, set]
 
virtual float x [get, set]
 
virtual float y [get, set]
 
virtual float z [get, set]
 
virtual float rotationX [get, set]
 
virtual float rotationY [get, set]
 
virtual float rotationZ [get, set]
 

Member Function Documentation

override void Controls.Start ( )
virtual

Start is called just before any of the Update methods is called the first time.

Reimplemented from AbstractMonoBehaviour.

override void Controls.Update ( )
virtual

Update is called every frame.

Reimplemented from AbstractMonoBehaviour.

Member Data Documentation

bool Controls.attack
float Controls.cameraFriction
float Controls.cameraThreshold
float Controls.camHorizontal
float Controls.camVertical
string [] Controls.connectedGamepads
Gamepad Controls.gamepad
float Controls.gamepadSensitivity
float Controls.horizontal
bool Controls.invertX
bool Controls.invertY
bool Controls.jump
float Controls.mouseDeadzone
bool Controls.mouseDeadzoned
float Controls.mouseSensitivity
float Controls.movementFriction
float Controls.movementThreshold
bool Controls.run
bool Controls.select
bool Controls.start
bool Controls.usingGamepad
float Controls.vertical

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