HEAD
ActionMapping Class |
Namespace: Planetbase
The ActionMapping type exposes the following members.
Name | Description | |
---|---|---|
![]() | ActionMapping(ActionMapping) |
A cloning constructor. Takes an existing ActionMapping object and copies it's values into a new object.
|
![]() | ActionMapping(InputAction, InputAction) |
Created a new instance that stores the two passed InputActions.
|
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.) |
Name | Description | |
---|---|---|
![]() | mInputActions |
A list of teh stored InputActions.
|
ActionMapping Class |
[Missing <summary> documentation for "T:Planetbase.ActionMapping"]
Namespace: Planetbase
The ActionMapping type exposes the following members.
Name | Description | |
---|---|---|
![]() | ActionMapping(ActionMapping) | Initializes a new instance of the ActionMapping class |
![]() | ActionMapping(InputAction, InputAction) | Initializes a new instance of the ActionMapping class |
Name | Description | |
---|---|---|
![]() | copyFrom | |
![]() | deserialize | |
![]() | 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 | |
![]() | getActionCount | |
![]() | getDescription | |
![]() | 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 | |
![]() | justUp | |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | removeAxis | |
![]() | removeKey | |
![]() | serialize | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | mInputActions |