ActionMapping Methods |
The ActionMapping type exposes the following members.
<<<<<<< HEAD | Name | Description |
---|---|---|
![]() | copyFrom |
Copies the ActionMapping object into the current instance, without creating a new instance.
|
![]() | deserialize |
Loads a serialized ActionMapping 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.) |
![]() | get |
Gets one of the two InputActions.
********CAUTION********
This method does not check it's input against the length of the array (always two). Things will break if this method is called with a value higher than one.
|
![]() | getActionCount |
Gets the number of stored actions. This should always be two, although all the mothods other that the constructors allow for a higher value.
|
![]() | getDescription |
Returns the description of the first InputAction who's getDescription() method returns a non-zero length value.
|
![]() | GetFieldInfo | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() | getValue |
Checks to see if any of the stored InputActions are pressed/moved.
|
![]() | justUp |
Checks to see if either InputAction object uses a KeyCode object, and if the said key is up.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | removeAxis |
Looks through the stored InputActions and checks to see if one of them stores a given InputAxis. If it does, then the InputAction is cleared.
|
![]() | removeKey |
Looks through the stored InputActions and checks to see if one of them stores a given KeyCode. If it does, then the InputAction is cleared.
|
![]() | serialize |
Saves the object in XML format.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |