<<<<<<< HEAD InputAction Class
Click or drag to resize
InputAction Class
This class stores either a KeyCode constant or a InputAxis object, which relate to an input of a key or joystick axis.
Inheritance Hierarchy
SystemObject
  PlanetbaseInputAction

Namespace: Planetbase
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class InputAction

The InputAction type exposes the following members.

Constructors
  NameDescription
Public methodInputAction(KeyCode)
Creates a new InputAction from the given KeyCode.
Public methodInputAction(InputAction)
Essentially a "cloning" constructor. Creates a new instance and sets the mKeyCode and mAxis values of the new instance to the same values as the passed argument.
Public methodInputAction(InputAxis)
Creates a new InputAction from the given InputAxis.
Top
Methods
  NameDescription
Public methodStatic memberaxisToString
Gets the name of a InputAxis's joystick axis name.
Public methodclear
Clears both the KeyCode and InputAxis values by setting them to KeyCode.None and InputAxis.None, respectively.
Public methodcopyFrom
Similar to one of the constructors, except this method sets the instance's value to another instances values, rather than creating a new instance.
Public methoddeserialize
Loads a serialized InputAction object into this instance.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Private methodFieldGetter (Inherited from Object.)
Private methodFieldSetter (Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodgetAxis
Getter method for the stored InputAxis value.
Public methodStatic membergetAxis(InputAxis)
Gets a float value that related an InputAxis object to a value Unity can use.
Public methodgetDescription
Gets the name of the InputAxis or KeyCode stored in this instance.
Private methodGetFieldInfo (Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodgetKeyCode
Getter method for the stored KeyCode value.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodgetValue
Gets the status of a key.
Public methodStatic memberisValidKey
Checks the validity of the keycode.
Public methodjustUp
Checks to see if this object uses a KeyCode object, and if the said key is up.
Public methodStatic memberkeycodeToString
Transforms a KeyCode into a string.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodserialize
Saves the object in XML format.
Public methodsetAxis
Setter method for the InputAxis value. Also sets the KeyCode value to KeyCode.None.
Public methodsetKey
Setter method for the KeyCode value. Also sets the InputAxis value to InputAxis.None.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldmAxis
Enum that represents a given joystick axis/direction.
Public fieldmKeyCode
Unity KeyCode enum that represents a given key
Top
See Also
======= InputAction Class
Click or drag to resize
InputAction Class

[Missing <summary> documentation for "T:Planetbase.InputAction"]

Inheritance Hierarchy
SystemObject
  PlanetbaseInputAction

Namespace: Planetbase
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class InputAction

The InputAction type exposes the following members.

Constructors
  NameDescription
Public methodInputAction(KeyCode)
Initializes a new instance of the InputAction class
Public methodInputAction(InputAction)
Initializes a new instance of the InputAction class
Public methodInputAction(InputAxis)
Initializes a new instance of the InputAction class
Top
Methods
  NameDescription
Public methodStatic memberaxisToString
Public methodclear
Public methodcopyFrom
Public methoddeserialize
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Private methodFieldGetter (Inherited from Object.)
Private methodFieldSetter (Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodgetAxis
Public methodStatic membergetAxis(InputAxis)
Public methodgetDescription
Private methodGetFieldInfo (Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodgetKeyCode
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodgetValue
Public methodStatic memberisValidKey
Public methodjustUp
Public methodStatic memberkeycodeToString
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodserialize
Public methodsetAxis
Public methodsetKey
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldmAxis
Public fieldmKeyCode
Top
See Also
>>>>>>> origin/gh-pages