Inheritance
ControlScheme
[Serializable]
public class ControlScheme
Constructors
Declaration
Declaration
public ControlScheme(string name, ActionMap actionMap)
Parameters
Properties
Declaration
public ActionMap actionMap { get; }
Property Value
Declaration
public List<ControlBinding> bindings { get; set; }
Property Value
Declaration
public bool customized { get; }
Property Value
Declaration
public List<DeviceSlot> deviceSlots { get; set; }
Property Value
Declaration
public string name { get; set; }
Property Value
Methods
Declaration
public virtual ControlScheme Clone()
Returns
Declaration
public void ExtractDeviceTypesAndControlIndices(Dictionary<int, List<int>> controlIndicesPerDeviceType)
Parameters
Declaration
public int GetDeviceKey(InputDevice device)
Parameters
Returns
Declaration
public DeviceSlot GetDeviceSlot(int key)
Parameters
Type |
Name |
Description |
Int32 |
key |
|
Returns