InputAction Methods |
The InputAction type exposes the following members.
<<<<<<< HEAD | Name | Description |
---|---|---|
![]() ![]() | axisToString |
Gets the name of a InputAxis's joystick axis name.
|
![]() | clear |
Clears both the KeyCode and InputAxis values by setting them to KeyCode.None and InputAxis.None, respectively.
|
![]() | copyFrom |
Similar to one of the constructors, except this method sets the instance's value to another instances values, rather than creating a new instance.
|
![]() | deserialize |
Loads a serialized InputAction object into this instance.
|
![]() | Equals | (Inherited from Object.) |
![]() | FieldGetter | (Inherited from Object.) |
![]() | FieldSetter | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | getAxis |
Getter method for the stored InputAxis value.
|
![]() ![]() | getAxis(InputAxis) |
Gets a float value that related an InputAxis object to a value Unity can use.
|
![]() | getDescription |
Gets the name of the InputAxis or KeyCode stored in this instance.
|
![]() | GetFieldInfo | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | getKeyCode |
Getter method for the stored KeyCode value.
|
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() | getValue |
Gets the status of a key.
|
![]() ![]() | isValidKey |
Checks the validity of the keycode.
|
![]() | justUp |
Checks to see if this object uses a KeyCode object, and if the said key is up.
|
![]() ![]() | keycodeToString |
Transforms a KeyCode into a string.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | serialize |
Saves the object in XML format.
|
![]() | setAxis |
Setter method for the InputAxis value. Also sets the KeyCode value to KeyCode.None.
|
![]() | setKey |
Setter method for the KeyCode value. Also sets the InputAxis value to InputAxis.None.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |