upfste
This commit is contained in:
@@ -398,6 +398,24 @@ namespace NBF
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""Back"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""6b649cc4-0104-4234-bfe9-2d647df3862d"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""ReUse"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""45a833e1-2aaf-4907-ae1e-1d97ee260b18"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
}
|
||||
],
|
||||
""bindings"": [
|
||||
@@ -961,6 +979,28 @@ namespace NBF
|
||||
""action"": ""Quick9"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""9f16f60c-4749-4672-bdaf-9fb804c0b6f1"",
|
||||
""path"": ""<Keyboard>/escape"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": """",
|
||||
""action"": ""Back"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""7e0ce3aa-9cf2-4b1e-9995-756ccbdeeda4"",
|
||||
""path"": ""<Keyboard>/y"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": """",
|
||||
""action"": ""ReUse"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1092,6 +1132,8 @@ namespace NBF
|
||||
m_Normal_Quick7 = m_Normal.FindAction("Quick7", throwIfNotFound: true);
|
||||
m_Normal_Quick8 = m_Normal.FindAction("Quick8", throwIfNotFound: true);
|
||||
m_Normal_Quick9 = m_Normal.FindAction("Quick9", throwIfNotFound: true);
|
||||
m_Normal_Back = m_Normal.FindAction("Back", throwIfNotFound: true);
|
||||
m_Normal_ReUse = m_Normal.FindAction("ReUse", throwIfNotFound: true);
|
||||
// UI
|
||||
m_UI = asset.FindActionMap("UI", throwIfNotFound: true);
|
||||
m_UI_Roll = m_UI.FindAction("Roll", throwIfNotFound: true);
|
||||
@@ -1210,6 +1252,8 @@ namespace NBF
|
||||
private readonly InputAction m_Normal_Quick7;
|
||||
private readonly InputAction m_Normal_Quick8;
|
||||
private readonly InputAction m_Normal_Quick9;
|
||||
private readonly InputAction m_Normal_Back;
|
||||
private readonly InputAction m_Normal_ReUse;
|
||||
/// <summary>
|
||||
/// Provides access to input actions defined in input action map "Normal".
|
||||
/// </summary>
|
||||
@@ -1358,6 +1402,14 @@ namespace NBF
|
||||
/// </summary>
|
||||
public InputAction @Quick9 => m_Wrapper.m_Normal_Quick9;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Normal/Back".
|
||||
/// </summary>
|
||||
public InputAction @Back => m_Wrapper.m_Normal_Back;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "Normal/ReUse".
|
||||
/// </summary>
|
||||
public InputAction @ReUse => m_Wrapper.m_Normal_ReUse;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action map instance.
|
||||
/// </summary>
|
||||
public InputActionMap Get() { return m_Wrapper.m_Normal; }
|
||||
@@ -1485,6 +1537,12 @@ namespace NBF
|
||||
@Quick9.started += instance.OnQuick9;
|
||||
@Quick9.performed += instance.OnQuick9;
|
||||
@Quick9.canceled += instance.OnQuick9;
|
||||
@Back.started += instance.OnBack;
|
||||
@Back.performed += instance.OnBack;
|
||||
@Back.canceled += instance.OnBack;
|
||||
@ReUse.started += instance.OnReUse;
|
||||
@ReUse.performed += instance.OnReUse;
|
||||
@ReUse.canceled += instance.OnReUse;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1598,6 +1656,12 @@ namespace NBF
|
||||
@Quick9.started -= instance.OnQuick9;
|
||||
@Quick9.performed -= instance.OnQuick9;
|
||||
@Quick9.canceled -= instance.OnQuick9;
|
||||
@Back.started -= instance.OnBack;
|
||||
@Back.performed -= instance.OnBack;
|
||||
@Back.canceled -= instance.OnBack;
|
||||
@ReUse.started -= instance.OnReUse;
|
||||
@ReUse.performed -= instance.OnReUse;
|
||||
@ReUse.canceled -= instance.OnReUse;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -2037,6 +2101,20 @@ namespace NBF
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
|
||||
void OnQuick9(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "Back" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
|
||||
/// </summary>
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
|
||||
void OnBack(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "ReUse" is either <see cref="UnityEngine.InputSystem.InputAction.started" />, <see cref="UnityEngine.InputSystem.InputAction.performed" /> or <see cref="UnityEngine.InputSystem.InputAction.canceled" />.
|
||||
/// </summary>
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.started" />
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.performed" />
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
|
||||
void OnReUse(InputAction.CallbackContext context);
|
||||
}
|
||||
/// <summary>
|
||||
/// Interface to implement callback methods for all input action callbacks associated with input actions defined by "UI" which allows adding and removing callbacks.
|
||||
|
||||
Reference in New Issue
Block a user