Class MKeyDefinition
Used to define an MKey in an XML file.
Implements
Inherited Members
Namespace: Modding.Serialization
Assembly: Assembly-CSharp.dll
Syntax
public class MKeyDefinition : MapperTypeDefinition, IValidatable
Constructors
MKeyDefinition()
Declaration
public MKeyDefinition()
Fields
Default
Default key binding.
Declaration
public KeyCode Default
Field Value
Type | Description |
---|---|
UnityEngine.KeyCode |
Methods
Create(SaveableDataHolder)
Adds this mapper type to the given holder.
Declaration
public override MapperType Create(SaveableDataHolder holder)
Parameters
Type | Name | Description |
---|---|---|
SaveableDataHolder | holder |
Returns
Type | Description |
---|---|
MapperType | The created MapperType instance. |