<<<<<<< HEAD ActionMapping Class
Click or drag to resize
ActionMapping Class
This is a fairely simple class that stores multiple InputAction objects. A few utility methods are available to call some InputAction methods on all the stored objects at once.
Inheritance Hierarchy
SystemObject
  PlanetbaseActionMapping

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

The ActionMapping type exposes the following members.

Constructors
  NameDescription
Public methodActionMapping(ActionMapping)
A cloning constructor. Takes an existing ActionMapping object and copies it's values into a new object.
Public methodActionMapping(InputAction, InputAction)
Created a new instance that stores the two passed InputActions.
Top
Methods
  NameDescription
Public methodcopyFrom
Copies the ActionMapping object into the current instance, without creating a new instance.
Public methoddeserialize
Loads a serialized ActionMapping 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 methodget
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.
Public methodgetActionCount
Gets the number of stored actions. This should always be two, although all the mothods other that the constructors allow for a higher value.
Public methodgetDescription
Returns the description of the first InputAction who's getDescription() method returns a non-zero length value.
Private methodGetFieldInfo (Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodgetValue
Checks to see if any of the stored InputActions are pressed/moved.
Public methodjustUp
Checks to see if either InputAction object uses a KeyCode object, and if the said key is up.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodremoveAxis
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.
Public methodremoveKey
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.
Public methodserialize
Saves the object in XML format.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldmInputActions
A list of teh stored InputActions.
Top
See Also
======= ActionMapping Class
Click or drag to resize
ActionMapping Class

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

Inheritance Hierarchy
SystemObject
  PlanetbaseActionMapping

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

The ActionMapping type exposes the following members.

Constructors
  NameDescription
Public methodActionMapping(ActionMapping)
Initializes a new instance of the ActionMapping class
Public methodActionMapping(InputAction, InputAction)
Initializes a new instance of the ActionMapping class
Top
Methods
  NameDescription
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 methodget
Public methodgetActionCount
Public methodgetDescription
Private methodGetFieldInfo (Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodgetValue
Public methodjustUp
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodremoveAxis
Public methodremoveKey
Public methodserialize
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldmInputActions
Top
See Also
>>>>>>> origin/gh-pages