|
|
|
|
|
|
// GENERATED AUTOMATICALLY FROM 'Assets/Data/New Controls.inputactions'
|
|
|
|
|
|
|
|
using System; |
|
|
|
using UnityEngine; |
|
|
|
using UnityEngine.InputSystem; |
|
|
|
using UnityEngine.InputSystem.Utilities; |
|
|
|
|
|
|
|
|
|
|
""actions"": [ |
|
|
|
{ |
|
|
|
""name"": ""Trottle"", |
|
|
|
""type"": ""Value"", |
|
|
|
""expectedControlLayout"": ""Axis"", |
|
|
|
""continuous"": true, |
|
|
|
""passThrough"": false, |
|
|
|
""initialStateCheck"": false, |
|
|
|
""expectedControlType"": ""Axis"", |
|
|
|
""interactions"": """", |
|
|
|
""bindings"": [] |
|
|
|
""interactions"": """" |
|
|
|
""type"": ""Value"", |
|
|
|
""expectedControlLayout"": ""Axis"", |
|
|
|
""continuous"": true, |
|
|
|
""passThrough"": false, |
|
|
|
""initialStateCheck"": false, |
|
|
|
""expectedControlType"": ""Axis"", |
|
|
|
""interactions"": """", |
|
|
|
""bindings"": [] |
|
|
|
""interactions"": """" |
|
|
|
} |
|
|
|
], |
|
|
|
""bindings"": [ |
|
|
|
|
|
|
""groups"": """", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": true, |
|
|
|
""isPartOfComposite"": false, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": false |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""negative"", |
|
|
|
|
|
|
""groups"": ""Gamepad"", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""positive"", |
|
|
|
|
|
|
""groups"": ""Gamepad"", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""Buttons"", |
|
|
|
|
|
|
""groups"": """", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": true, |
|
|
|
""isPartOfComposite"": false, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": false |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""negative"", |
|
|
|
|
|
|
""groups"": "";Gamepad"", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""positive"", |
|
|
|
|
|
|
""groups"": "";Gamepad"", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""Arrows"", |
|
|
|
|
|
|
""groups"": """", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": true, |
|
|
|
""isPartOfComposite"": false, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": false |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""negative"", |
|
|
|
|
|
|
""groups"": ""Keyboard"", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""positive"", |
|
|
|
|
|
|
""groups"": ""Keyboard"", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""WSAD"", |
|
|
|
|
|
|
""groups"": """", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": true, |
|
|
|
""isPartOfComposite"": false, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": false |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""negative"", |
|
|
|
|
|
|
""groups"": ""Keyboard"", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""positive"", |
|
|
|
|
|
|
""groups"": ""Keyboard"", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""Alt"", |
|
|
|
|
|
|
""groups"": """", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": true, |
|
|
|
""isPartOfComposite"": false, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": false |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""negative"", |
|
|
|
|
|
|
""groups"": ""Keyboard"", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""positive"", |
|
|
|
|
|
|
""groups"": ""Keyboard"", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": """", |
|
|
|
|
|
|
""groups"": ""TouchScreen"", |
|
|
|
""action"": ""Trottle"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": false, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": false |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""LeftThumbstick"", |
|
|
|
|
|
|
""groups"": """", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": true, |
|
|
|
""isPartOfComposite"": false, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": false |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""negative"", |
|
|
|
|
|
|
""groups"": ""Gamepad"", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""positive"", |
|
|
|
|
|
|
""groups"": ""Gamepad"", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""DPad"", |
|
|
|
|
|
|
""groups"": """", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": true, |
|
|
|
""isPartOfComposite"": false, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": false |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""negative"", |
|
|
|
|
|
|
""groups"": "";Gamepad"", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""positive"", |
|
|
|
|
|
|
""groups"": "";Gamepad"", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""Arrows"", |
|
|
|
|
|
|
""groups"": """", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": true, |
|
|
|
""isPartOfComposite"": false, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": false |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""negative"", |
|
|
|
|
|
|
""groups"": ""Keyboard"", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""positive"", |
|
|
|
|
|
|
""groups"": ""Keyboard"", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""WSAD"", |
|
|
|
|
|
|
""groups"": """", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": true, |
|
|
|
""isPartOfComposite"": false, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": false |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""negative"", |
|
|
|
|
|
|
""groups"": ""Keyboard"", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": ""positive"", |
|
|
|
|
|
|
""groups"": ""Keyboard"", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": true, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": true |
|
|
|
}, |
|
|
|
{ |
|
|
|
""name"": """", |
|
|
|
|
|
|
""groups"": ""TouchScreen"", |
|
|
|
""action"": ""Steering"", |
|
|
|
""isComposite"": false, |
|
|
|
""isPartOfComposite"": false, |
|
|
|
""modifiers"": """" |
|
|
|
""isPartOfComposite"": false |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
set => asset.devices = value; |
|
|
|
} |
|
|
|
|
|
|
|
public ReadOnlyArray<InputControlScheme> controlSchemes |
|
|
|
{ |
|
|
|
get => asset.controlSchemes; |
|
|
|
} |
|
|
|
public ReadOnlyArray<InputControlScheme> controlSchemes => asset.controlSchemes; |
|
|
|
|
|
|
|
public bool Contains(InputAction action) |
|
|
|
{ |
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// BoatControls
|
|
|
|
private InputActionMap m_BoatControls; |
|
|
|
private readonly InputActionMap m_BoatControls; |
|
|
|
private InputAction m_BoatControls_Trottle; |
|
|
|
private InputAction m_BoatControls_Steering; |
|
|
|
private readonly InputAction m_BoatControls_Trottle; |
|
|
|
private readonly InputAction m_BoatControls_Steering; |
|
|
|
public InputAction @Trottle { get { return m_Wrapper.m_BoatControls_Trottle; } } |
|
|
|
public InputAction @Steering { get { return m_Wrapper.m_BoatControls_Steering; } } |
|
|
|
public InputAction @Trottle => m_Wrapper.m_BoatControls_Trottle; |
|
|
|
public InputAction @Steering => m_Wrapper.m_BoatControls_Steering; |
|
|
|
public bool enabled { get { return Get().enabled; } } |
|
|
|
public InputActionMap Clone() { return Get().Clone(); } |
|
|
|
public bool enabled => Get().enabled; |
|
|
|
public static implicit operator InputActionMap(BoatControlsActions set) { return set.Get(); } |
|
|
|
public void SetCallbacks(IBoatControlsActions instance) |
|
|
|
{ |
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
public BoatControlsActions @BoatControls |
|
|
|
{ |
|
|
|
get |
|
|
|
{ |
|
|
|
return new BoatControlsActions(this); |
|
|
|
} |
|
|
|
} |
|
|
|
public BoatControlsActions @BoatControls => new BoatControlsActions(this); |
|
|
|
private int m_GamepadSchemeIndex = -1; |
|
|
|
public InputControlScheme GamepadScheme |
|
|
|
{ |
|
|
|