Click or drag to resize
InputAction Methods

The InputAction type exposes the following members.

Methods
  <<<<<<< HEAD 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
See Also
======= NameDescriptionPublic methodStatic memberaxisToStringPublic methodclearPublic methodcopyFromPublic methoddeserializePublic 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 methodgetAxisPublic methodStatic membergetAxis(InputAxis)Public methodgetDescriptionPrivate methodGetFieldInfo (Inherited from Object.)Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)Public methodgetKeyCodePublic methodGetType
Gets the type of the current instance.
(Inherited from Object.)Public methodgetValuePublic methodStatic memberisValidKeyPublic methodjustUpPublic methodStatic memberkeycodeToStringProtected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)Public methodserializePublic methodsetAxisPublic methodsetKeyPublic methodToString
Returns a string that represents the current object.
(Inherited from Object.)Top
See Also

Reference

InputAction Class
Planetbase Namespace
>>>>>>> origin/gh-pages