2136 lines
105 KiB
C#
2136 lines
105 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
|
|
// version 1.14.0
|
|
// from Assets/PlayerInputControl.inputactions
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine.InputSystem;
|
|
using UnityEngine.InputSystem.Utilities;
|
|
|
|
namespace NBF
|
|
{
|
|
/// <summary>
|
|
/// Provides programmatic access to <see cref="InputActionAsset" />, <see cref="InputActionMap" />, <see cref="InputAction" /> and <see cref="InputControlScheme" /> instances defined in asset "Assets/PlayerInputControl.inputactions".
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// This class is source generated and any manual edits will be discarded if the associated asset is reimported or modified.
|
|
/// </remarks>
|
|
/// <example>
|
|
/// <code>
|
|
/// using namespace UnityEngine;
|
|
/// using UnityEngine.InputSystem;
|
|
///
|
|
/// // Example of using an InputActionMap named "Player" from a UnityEngine.MonoBehaviour implementing callback interface.
|
|
/// public class Example : MonoBehaviour, MyActions.IPlayerActions
|
|
/// {
|
|
/// private MyActions_Actions m_Actions; // Source code representation of asset.
|
|
/// private MyActions_Actions.PlayerActions m_Player; // Source code representation of action map.
|
|
///
|
|
/// void Awake()
|
|
/// {
|
|
/// m_Actions = new MyActions_Actions(); // Create asset object.
|
|
/// m_Player = m_Actions.Player; // Extract action map object.
|
|
/// m_Player.AddCallbacks(this); // Register callback interface IPlayerActions.
|
|
/// }
|
|
///
|
|
/// void OnDestroy()
|
|
/// {
|
|
/// m_Actions.Dispose(); // Destroy asset object.
|
|
/// }
|
|
///
|
|
/// void OnEnable()
|
|
/// {
|
|
/// m_Player.Enable(); // Enable all actions within map.
|
|
/// }
|
|
///
|
|
/// void OnDisable()
|
|
/// {
|
|
/// m_Player.Disable(); // Disable all actions within map.
|
|
/// }
|
|
///
|
|
/// #region Interface implementation of MyActions.IPlayerActions
|
|
///
|
|
/// // Invoked when "Move" action is either started, performed or canceled.
|
|
/// public void OnMove(InputAction.CallbackContext context)
|
|
/// {
|
|
/// Debug.Log($"OnMove: {context.ReadValue<Vector2>()}");
|
|
/// }
|
|
///
|
|
/// // Invoked when "Attack" action is either started, performed or canceled.
|
|
/// public void OnAttack(InputAction.CallbackContext context)
|
|
/// {
|
|
/// Debug.Log($"OnAttack: {context.ReadValue<float>()}");
|
|
/// }
|
|
///
|
|
/// #endregion
|
|
/// }
|
|
/// </code>
|
|
/// </example>
|
|
public partial class @PlayerInputControl: IInputActionCollection2, IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Provides access to the underlying asset instance.
|
|
/// </summary>
|
|
public InputActionAsset asset { get; }
|
|
|
|
/// <summary>
|
|
/// Constructs a new instance.
|
|
/// </summary>
|
|
public @PlayerInputControl()
|
|
{
|
|
asset = InputActionAsset.FromJson(@"{
|
|
""name"": ""PlayerInputControl"",
|
|
""maps"": [
|
|
{
|
|
""name"": ""Normal"",
|
|
""id"": ""df70fa95-8a34-4494-b137-73ab6b9c7d37"",
|
|
""actions"": [
|
|
{
|
|
""name"": ""Move"",
|
|
""type"": ""Value"",
|
|
""id"": ""351f2ccd-1f9f-44bf-9bec-d62ac5c5f408"",
|
|
""expectedControlType"": ""Vector2"",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": true
|
|
},
|
|
{
|
|
""name"": ""Look"",
|
|
""type"": ""Value"",
|
|
""id"": ""6b444451-8a00-4d00-a97e-f47457f736a8"",
|
|
""expectedControlType"": ""Vector2"",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": true
|
|
},
|
|
{
|
|
""name"": ""Zoom"",
|
|
""type"": ""Value"",
|
|
""id"": ""98493329-ff99-4095-8e99-7661388f993a"",
|
|
""expectedControlType"": ""Vector2"",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": true
|
|
},
|
|
{
|
|
""name"": ""Jump"",
|
|
""type"": ""Button"",
|
|
""id"": ""f1ba0d36-48eb-4cd5-b651-1c94a6531f70"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Run"",
|
|
""type"": ""Button"",
|
|
""id"": ""641cd816-40e6-41b4-8c3d-04687c349290"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Op1"",
|
|
""type"": ""Button"",
|
|
""id"": ""a6038f56-bd74-4372-a689-9d124cb9dce4"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Op2"",
|
|
""type"": ""Button"",
|
|
""id"": ""eb447b1a-6476-4171-b4f6-5829e89b7bb1"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Use"",
|
|
""type"": ""Button"",
|
|
""id"": ""7372f7e2-b3d2-4e91-b8e6-2f0ccde6fc1f"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""SelectItem"",
|
|
""type"": ""Button"",
|
|
""id"": ""86ddb388-aafd-4894-ad60-548692875a44"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""SelectBait"",
|
|
""type"": ""Button"",
|
|
""id"": ""580ad571-1c6f-4a92-b7ef-5ad070f39c37"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""SelectFood"",
|
|
""type"": ""Button"",
|
|
""id"": ""ab97da75-1fc6-4078-8cd9-4f385acf6fb3"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""UseTorch"",
|
|
""type"": ""Button"",
|
|
""id"": ""b78e0e72-e07a-4eb1-bc15-5f5829362c66"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""UseTelescope"",
|
|
""type"": ""Button"",
|
|
""id"": ""337d2419-7c32-4034-8287-cb7ef2ddad9d"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""UseBrail"",
|
|
""type"": ""Button"",
|
|
""id"": ""c252c4a9-a2dc-4f0c-9643-e144c075ee48"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""AddBob"",
|
|
""type"": ""Button"",
|
|
""id"": ""9eb9dd0d-f826-42f4-aff7-c87e2e6f037e"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""SubBob"",
|
|
""type"": ""Button"",
|
|
""id"": ""65665e2f-bf21-43f2-8b49-633cae84eb62"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""ToBag"",
|
|
""type"": ""Button"",
|
|
""id"": ""c2b64c66-782b-4ef6-a7cd-5010d18e501e"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Help"",
|
|
""type"": ""Button"",
|
|
""id"": ""35448d22-d762-4d1f-b7a4-a86d0fa63115"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Chat"",
|
|
""type"": ""Button"",
|
|
""id"": ""1d9a2ea1-7814-461d-b1bc-b9fd69821b4f"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Info"",
|
|
""type"": ""Button"",
|
|
""id"": ""c4d3c929-e81c-4b78-bd98-50fc5b7ff997"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Skill"",
|
|
""type"": ""Button"",
|
|
""id"": ""24ce9048-15be-4799-83a8-ab1889f7bf60"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""OpenBag"",
|
|
""type"": ""Button"",
|
|
""id"": ""40fa0fcf-5ae1-48ae-b333-3fb10fad6cc2"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Keepnet"",
|
|
""type"": ""Button"",
|
|
""id"": ""5636ef35-4a13-42bc-a9e0-15dfd2a952bd"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Make"",
|
|
""type"": ""Button"",
|
|
""id"": ""67a15925-6997-4904-858b-879e440b6e3e"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Map"",
|
|
""type"": ""Button"",
|
|
""id"": ""b84f3faa-ab54-448a-9362-c3950593ad77"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Quick1"",
|
|
""type"": ""Button"",
|
|
""id"": ""684b0dde-3f8f-4a88-9ecb-e0fb11de8f55"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Quick2"",
|
|
""type"": ""Button"",
|
|
""id"": ""318eb5e1-ef85-4d25-940c-207ca61a4f86"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Quick3"",
|
|
""type"": ""Button"",
|
|
""id"": ""97ed3871-2a0c-46bf-83bb-a4bad4d3d544"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Quick4"",
|
|
""type"": ""Button"",
|
|
""id"": ""a7b19131-f9dd-4f2a-b617-526856f6ae34"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Quick5"",
|
|
""type"": ""Button"",
|
|
""id"": ""41ac843b-c1a5-41fd-9b84-3c36bd6939e7"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Quick6"",
|
|
""type"": ""Button"",
|
|
""id"": ""a469cd36-0dca-4f9a-91c2-29c8e854d92c"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Quick7"",
|
|
""type"": ""Button"",
|
|
""id"": ""cbd4a3df-9c62-4090-87f0-167491afceb2"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Quick8"",
|
|
""type"": ""Button"",
|
|
""id"": ""e187691f-4928-4792-a356-11c571df6e8b"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
},
|
|
{
|
|
""name"": ""Quick9"",
|
|
""type"": ""Button"",
|
|
""id"": ""79fdff4c-7c25-4970-9379-71e1c73534b0"",
|
|
""expectedControlType"": """",
|
|
""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"": [
|
|
{
|
|
""name"": """",
|
|
""id"": ""978bfe49-cc26-4a3d-ab7b-7d7a29327403"",
|
|
""path"": ""<Gamepad>/leftStick"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": ""WASD"",
|
|
""id"": ""00ca640b-d935-4593-8157-c05846ea39b3"",
|
|
""path"": ""Dpad"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Move"",
|
|
""isComposite"": true,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": ""up"",
|
|
""id"": ""e2062cb9-1b15-46a2-838c-2f8d72a0bdd9"",
|
|
""path"": ""<Keyboard>/w"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""up"",
|
|
""id"": ""8180e8bd-4097-4f4e-ab88-4523101a6ce9"",
|
|
""path"": ""<Keyboard>/upArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""down"",
|
|
""id"": ""320bffee-a40b-4347-ac70-c210eb8bc73a"",
|
|
""path"": ""<Keyboard>/s"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""down"",
|
|
""id"": ""1c5327b5-f71c-4f60-99c7-4e737386f1d1"",
|
|
""path"": ""<Keyboard>/downArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""left"",
|
|
""id"": ""d2581a9b-1d11-4566-b27d-b92aff5fabbc"",
|
|
""path"": ""<Keyboard>/a"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""left"",
|
|
""id"": ""2e46982e-44cc-431b-9f0b-c11910bf467a"",
|
|
""path"": ""<Keyboard>/leftArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""right"",
|
|
""id"": ""fcfe95b8-67b9-4526-84b5-5d0bc98d6400"",
|
|
""path"": ""<Keyboard>/d"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": ""right"",
|
|
""id"": ""77bff152-3580-4b21-b6de-dcd0c7e41164"",
|
|
""path"": ""<Keyboard>/rightArrow"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": true
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""1635d3fe-58b6-4ba9-a4e2-f4b964f6b5c8"",
|
|
""path"": ""<XRController>/{Primary2DAxis}"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""XR"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""3ea4d645-4504-4529-b061-ab81934c3752"",
|
|
""path"": ""<Joystick>/stick"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Joystick"",
|
|
""action"": ""Move"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""c1f7a91b-d0fd-4a62-997e-7fb9b69bf235"",
|
|
""path"": ""<Gamepad>/rightStick"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Gamepad"",
|
|
""action"": ""Look"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""8c8e490b-c610-4785-884f-f04217b23ca4"",
|
|
""path"": ""<Pointer>/delta"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": "";Keyboard&Mouse;Touch"",
|
|
""action"": ""Look"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""3e5f5442-8668-4b27-a940-df99bad7e831"",
|
|
""path"": ""<Joystick>/{Hatswitch}"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Joystick"",
|
|
""action"": ""Look"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""f2e9ba44-c423-42a7-ad56-f20975884794"",
|
|
""path"": ""<Keyboard>/leftShift"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Run"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""8cbb2f4b-a784-49cc-8d5e-c010b8c7f4e6"",
|
|
""path"": ""<Gamepad>/leftStickPress"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Gamepad"",
|
|
""action"": ""Run"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""d8bf24bf-3f2f-4160-a97c-38ec1eb520ba"",
|
|
""path"": ""<XRController>/trigger"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""XR"",
|
|
""action"": ""Run"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""eb40bb66-4559-4dfa-9a2f-820438abb426"",
|
|
""path"": ""<Keyboard>/space"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Jump"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""daba33a1-ad0c-4742-a909-43ad1cdfbeb6"",
|
|
""path"": ""<Gamepad>/buttonSouth"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Gamepad"",
|
|
""action"": ""Jump"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""603f3daf-40bd-4854-8724-93e8017f59e3"",
|
|
""path"": ""<XRController>/secondaryButton"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""XR"",
|
|
""action"": ""Jump"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""13e7338f-4b65-4fe1-be3e-9e343214372a"",
|
|
""path"": ""<Mouse>/scroll"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": ""Keyboard&Mouse"",
|
|
""action"": ""Zoom"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""dc53c96d-ef5b-44af-ab2f-ec42f8e2e045"",
|
|
""path"": ""<Mouse>/leftButton"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Op1"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""35e599f2-e8a1-416e-bca5-f3a2137421d1"",
|
|
""path"": ""<Mouse>/rightButton"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Op2"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""01d704a4-4abb-4832-a338-6ecc59ac4c75"",
|
|
""path"": ""<Keyboard>/e"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Use"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""211b10df-e7a6-4128-a2a9-f8d3817914e4"",
|
|
""path"": ""<Keyboard>/b"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""SelectBait"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""d5771e70-0672-4b6b-a48f-206cc5276812"",
|
|
""path"": ""<Keyboard>/t"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""SelectFood"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""85c51334-cad2-42b8-9bc0-9fa9bc0f9643"",
|
|
""path"": ""<Keyboard>/u"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""SelectItem"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""cea943ec-a234-44a2-8993-9da71b3ae18b"",
|
|
""path"": ""<Keyboard>/f"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""UseTorch"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""986650f5-2cf5-4141-95cc-6e68292d361a"",
|
|
""path"": ""<Keyboard>/z"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""UseTelescope"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""980d5d3e-d16c-4341-9ccd-013cca712b8a"",
|
|
""path"": ""<Keyboard>/space"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""UseBrail"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""ab09d705-53b7-4355-bca9-bc12a07ba5e6"",
|
|
""path"": ""<Keyboard>/equals"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""AddBob"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""23229eb8-1408-476c-ab39-a85cec86d2fa"",
|
|
""path"": ""<Keyboard>/minus"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""SubBob"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""bb2cdeeb-8818-4958-982c-144f48b52c2e"",
|
|
""path"": ""<Keyboard>/backspace"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""ToBag"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""9291baa5-42b7-41fb-91a9-a3f38b86d5e6"",
|
|
""path"": ""<Keyboard>/f1"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Help"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""815dc5ee-4737-4312-98c5-01670023c90b"",
|
|
""path"": ""<Keyboard>/q"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Chat"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""ed0962d8-3fac-4742-acb1-a33c20ad4aa1"",
|
|
""path"": ""<Keyboard>/v"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Info"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""0fa9b73e-f638-40ae-b9dd-7962a657900c"",
|
|
""path"": ""<Keyboard>/o"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Skill"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""5a3a07bf-8da8-411a-a74f-88af99c6078b"",
|
|
""path"": ""<Keyboard>/i"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""OpenBag"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""9835cfe8-92fc-486e-9090-72133f850c1f"",
|
|
""path"": ""<Keyboard>/c"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Keepnet"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""4b8b8d1b-1920-4bfd-95f8-654e70fc9679"",
|
|
""path"": ""<Keyboard>/n"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Make"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""db12b135-f475-4d72-ab9f-a7bdcc9536ec"",
|
|
""path"": ""<Keyboard>/m"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Map"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""aa41d4be-4554-49ff-8ce9-e7b7391a4a0a"",
|
|
""path"": ""<Keyboard>/1"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Quick1"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""ec90a04d-0c9f-4573-9585-e0684561af73"",
|
|
""path"": ""<Keyboard>/2"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Quick2"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""6e24d903-2893-465f-8a15-99ff269fb90a"",
|
|
""path"": ""<Keyboard>/3"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Quick3"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""b43a8a8d-396f-45d5-b7c0-49906d3959bf"",
|
|
""path"": ""<Keyboard>/4"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Quick4"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""9939c37d-0dd5-4ba5-8d15-687a25cf83d8"",
|
|
""path"": ""<Keyboard>/5"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Quick5"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""df0f7d01-b6a5-4a06-b145-4ac9521caa47"",
|
|
""path"": ""<Keyboard>/6"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Quick6"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""d1f3bf38-81dd-40e5-8479-70318ec1049b"",
|
|
""path"": ""<Keyboard>/7"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Quick7"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""f9789cc4-2c44-4dfe-b7cd-e583d14d75cc"",
|
|
""path"": ""<Keyboard>/8"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Quick8"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
},
|
|
{
|
|
""name"": """",
|
|
""id"": ""6857da81-80ac-4d7d-ac72-c656cca1209f"",
|
|
""path"": ""<Keyboard>/9"",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""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
|
|
}
|
|
]
|
|
},
|
|
{
|
|
""name"": ""UI"",
|
|
""id"": ""1e134a50-caf1-48ef-a011-2fabe2c0d049"",
|
|
""actions"": [
|
|
{
|
|
""name"": ""Roll"",
|
|
""type"": ""Button"",
|
|
""id"": ""379cc72d-f733-45da-b173-b881ab8ab0ed"",
|
|
""expectedControlType"": """",
|
|
""processors"": """",
|
|
""interactions"": """",
|
|
""initialStateCheck"": false
|
|
}
|
|
],
|
|
""bindings"": [
|
|
{
|
|
""name"": """",
|
|
""id"": ""0e66040a-5980-401a-85c3-b2ef2cc13664"",
|
|
""path"": """",
|
|
""interactions"": """",
|
|
""processors"": """",
|
|
""groups"": """",
|
|
""action"": ""Roll"",
|
|
""isComposite"": false,
|
|
""isPartOfComposite"": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
""controlSchemes"": [
|
|
{
|
|
""name"": ""Keyboard&Mouse"",
|
|
""bindingGroup"": ""Keyboard&Mouse"",
|
|
""devices"": [
|
|
{
|
|
""devicePath"": ""<Keyboard>"",
|
|
""isOptional"": false,
|
|
""isOR"": false
|
|
},
|
|
{
|
|
""devicePath"": ""<Mouse>"",
|
|
""isOptional"": false,
|
|
""isOR"": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
""name"": ""Gamepad"",
|
|
""bindingGroup"": ""Gamepad"",
|
|
""devices"": [
|
|
{
|
|
""devicePath"": ""<Gamepad>"",
|
|
""isOptional"": false,
|
|
""isOR"": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
""name"": ""Touch"",
|
|
""bindingGroup"": ""Touch"",
|
|
""devices"": [
|
|
{
|
|
""devicePath"": ""<Touchscreen>"",
|
|
""isOptional"": false,
|
|
""isOR"": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
""name"": ""Joystick"",
|
|
""bindingGroup"": ""Joystick"",
|
|
""devices"": [
|
|
{
|
|
""devicePath"": ""<Joystick>"",
|
|
""isOptional"": false,
|
|
""isOR"": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
""name"": ""XR"",
|
|
""bindingGroup"": ""XR"",
|
|
""devices"": [
|
|
{
|
|
""devicePath"": ""<XRController>"",
|
|
""isOptional"": false,
|
|
""isOR"": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}");
|
|
// Normal
|
|
m_Normal = asset.FindActionMap("Normal", throwIfNotFound: true);
|
|
m_Normal_Move = m_Normal.FindAction("Move", throwIfNotFound: true);
|
|
m_Normal_Look = m_Normal.FindAction("Look", throwIfNotFound: true);
|
|
m_Normal_Zoom = m_Normal.FindAction("Zoom", throwIfNotFound: true);
|
|
m_Normal_Jump = m_Normal.FindAction("Jump", throwIfNotFound: true);
|
|
m_Normal_Run = m_Normal.FindAction("Run", throwIfNotFound: true);
|
|
m_Normal_Op1 = m_Normal.FindAction("Op1", throwIfNotFound: true);
|
|
m_Normal_Op2 = m_Normal.FindAction("Op2", throwIfNotFound: true);
|
|
m_Normal_Use = m_Normal.FindAction("Use", throwIfNotFound: true);
|
|
m_Normal_SelectItem = m_Normal.FindAction("SelectItem", throwIfNotFound: true);
|
|
m_Normal_SelectBait = m_Normal.FindAction("SelectBait", throwIfNotFound: true);
|
|
m_Normal_SelectFood = m_Normal.FindAction("SelectFood", throwIfNotFound: true);
|
|
m_Normal_UseTorch = m_Normal.FindAction("UseTorch", throwIfNotFound: true);
|
|
m_Normal_UseTelescope = m_Normal.FindAction("UseTelescope", throwIfNotFound: true);
|
|
m_Normal_UseBrail = m_Normal.FindAction("UseBrail", throwIfNotFound: true);
|
|
m_Normal_AddBob = m_Normal.FindAction("AddBob", throwIfNotFound: true);
|
|
m_Normal_SubBob = m_Normal.FindAction("SubBob", throwIfNotFound: true);
|
|
m_Normal_ToBag = m_Normal.FindAction("ToBag", throwIfNotFound: true);
|
|
m_Normal_Help = m_Normal.FindAction("Help", throwIfNotFound: true);
|
|
m_Normal_Chat = m_Normal.FindAction("Chat", throwIfNotFound: true);
|
|
m_Normal_Info = m_Normal.FindAction("Info", throwIfNotFound: true);
|
|
m_Normal_Skill = m_Normal.FindAction("Skill", throwIfNotFound: true);
|
|
m_Normal_OpenBag = m_Normal.FindAction("OpenBag", throwIfNotFound: true);
|
|
m_Normal_Keepnet = m_Normal.FindAction("Keepnet", throwIfNotFound: true);
|
|
m_Normal_Make = m_Normal.FindAction("Make", throwIfNotFound: true);
|
|
m_Normal_Map = m_Normal.FindAction("Map", throwIfNotFound: true);
|
|
m_Normal_Quick1 = m_Normal.FindAction("Quick1", throwIfNotFound: true);
|
|
m_Normal_Quick2 = m_Normal.FindAction("Quick2", throwIfNotFound: true);
|
|
m_Normal_Quick3 = m_Normal.FindAction("Quick3", throwIfNotFound: true);
|
|
m_Normal_Quick4 = m_Normal.FindAction("Quick4", throwIfNotFound: true);
|
|
m_Normal_Quick5 = m_Normal.FindAction("Quick5", throwIfNotFound: true);
|
|
m_Normal_Quick6 = m_Normal.FindAction("Quick6", throwIfNotFound: true);
|
|
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);
|
|
}
|
|
|
|
~@PlayerInputControl()
|
|
{
|
|
UnityEngine.Debug.Assert(!m_Normal.enabled, "This will cause a leak and performance issues, PlayerInputControl.Normal.Disable() has not been called.");
|
|
UnityEngine.Debug.Assert(!m_UI.enabled, "This will cause a leak and performance issues, PlayerInputControl.UI.Disable() has not been called.");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Destroys this asset and all associated <see cref="InputAction"/> instances.
|
|
/// </summary>
|
|
public void Dispose()
|
|
{
|
|
UnityEngine.Object.Destroy(asset);
|
|
}
|
|
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.bindingMask" />
|
|
public InputBinding? bindingMask
|
|
{
|
|
get => asset.bindingMask;
|
|
set => asset.bindingMask = value;
|
|
}
|
|
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.devices" />
|
|
public ReadOnlyArray<InputDevice>? devices
|
|
{
|
|
get => asset.devices;
|
|
set => asset.devices = value;
|
|
}
|
|
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.controlSchemes" />
|
|
public ReadOnlyArray<InputControlScheme> controlSchemes => asset.controlSchemes;
|
|
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.Contains(InputAction)" />
|
|
public bool Contains(InputAction action)
|
|
{
|
|
return asset.Contains(action);
|
|
}
|
|
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.GetEnumerator()" />
|
|
public IEnumerator<InputAction> GetEnumerator()
|
|
{
|
|
return asset.GetEnumerator();
|
|
}
|
|
|
|
/// <inheritdoc cref="IEnumerable.GetEnumerator()" />
|
|
IEnumerator IEnumerable.GetEnumerator()
|
|
{
|
|
return GetEnumerator();
|
|
}
|
|
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.Enable()" />
|
|
public void Enable()
|
|
{
|
|
asset.Enable();
|
|
}
|
|
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.Disable()" />
|
|
public void Disable()
|
|
{
|
|
asset.Disable();
|
|
}
|
|
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.bindings" />
|
|
public IEnumerable<InputBinding> bindings => asset.bindings;
|
|
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.FindAction(string, bool)" />
|
|
public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false)
|
|
{
|
|
return asset.FindAction(actionNameOrId, throwIfNotFound);
|
|
}
|
|
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionAsset.FindBinding(InputBinding, out InputAction)" />
|
|
public int FindBinding(InputBinding bindingMask, out InputAction action)
|
|
{
|
|
return asset.FindBinding(bindingMask, out action);
|
|
}
|
|
|
|
// Normal
|
|
private readonly InputActionMap m_Normal;
|
|
private List<INormalActions> m_NormalActionsCallbackInterfaces = new List<INormalActions>();
|
|
private readonly InputAction m_Normal_Move;
|
|
private readonly InputAction m_Normal_Look;
|
|
private readonly InputAction m_Normal_Zoom;
|
|
private readonly InputAction m_Normal_Jump;
|
|
private readonly InputAction m_Normal_Run;
|
|
private readonly InputAction m_Normal_Op1;
|
|
private readonly InputAction m_Normal_Op2;
|
|
private readonly InputAction m_Normal_Use;
|
|
private readonly InputAction m_Normal_SelectItem;
|
|
private readonly InputAction m_Normal_SelectBait;
|
|
private readonly InputAction m_Normal_SelectFood;
|
|
private readonly InputAction m_Normal_UseTorch;
|
|
private readonly InputAction m_Normal_UseTelescope;
|
|
private readonly InputAction m_Normal_UseBrail;
|
|
private readonly InputAction m_Normal_AddBob;
|
|
private readonly InputAction m_Normal_SubBob;
|
|
private readonly InputAction m_Normal_ToBag;
|
|
private readonly InputAction m_Normal_Help;
|
|
private readonly InputAction m_Normal_Chat;
|
|
private readonly InputAction m_Normal_Info;
|
|
private readonly InputAction m_Normal_Skill;
|
|
private readonly InputAction m_Normal_OpenBag;
|
|
private readonly InputAction m_Normal_Keepnet;
|
|
private readonly InputAction m_Normal_Make;
|
|
private readonly InputAction m_Normal_Map;
|
|
private readonly InputAction m_Normal_Quick1;
|
|
private readonly InputAction m_Normal_Quick2;
|
|
private readonly InputAction m_Normal_Quick3;
|
|
private readonly InputAction m_Normal_Quick4;
|
|
private readonly InputAction m_Normal_Quick5;
|
|
private readonly InputAction m_Normal_Quick6;
|
|
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>
|
|
public struct NormalActions
|
|
{
|
|
private @PlayerInputControl m_Wrapper;
|
|
|
|
/// <summary>
|
|
/// Construct a new instance of the input action map wrapper class.
|
|
/// </summary>
|
|
public NormalActions(@PlayerInputControl wrapper) { m_Wrapper = wrapper; }
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Move".
|
|
/// </summary>
|
|
public InputAction @Move => m_Wrapper.m_Normal_Move;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Look".
|
|
/// </summary>
|
|
public InputAction @Look => m_Wrapper.m_Normal_Look;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Zoom".
|
|
/// </summary>
|
|
public InputAction @Zoom => m_Wrapper.m_Normal_Zoom;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Jump".
|
|
/// </summary>
|
|
public InputAction @Jump => m_Wrapper.m_Normal_Jump;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Run".
|
|
/// </summary>
|
|
public InputAction @Run => m_Wrapper.m_Normal_Run;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Op1".
|
|
/// </summary>
|
|
public InputAction @Op1 => m_Wrapper.m_Normal_Op1;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Op2".
|
|
/// </summary>
|
|
public InputAction @Op2 => m_Wrapper.m_Normal_Op2;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Use".
|
|
/// </summary>
|
|
public InputAction @Use => m_Wrapper.m_Normal_Use;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/SelectItem".
|
|
/// </summary>
|
|
public InputAction @SelectItem => m_Wrapper.m_Normal_SelectItem;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/SelectBait".
|
|
/// </summary>
|
|
public InputAction @SelectBait => m_Wrapper.m_Normal_SelectBait;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/SelectFood".
|
|
/// </summary>
|
|
public InputAction @SelectFood => m_Wrapper.m_Normal_SelectFood;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/UseTorch".
|
|
/// </summary>
|
|
public InputAction @UseTorch => m_Wrapper.m_Normal_UseTorch;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/UseTelescope".
|
|
/// </summary>
|
|
public InputAction @UseTelescope => m_Wrapper.m_Normal_UseTelescope;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/UseBrail".
|
|
/// </summary>
|
|
public InputAction @UseBrail => m_Wrapper.m_Normal_UseBrail;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/AddBob".
|
|
/// </summary>
|
|
public InputAction @AddBob => m_Wrapper.m_Normal_AddBob;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/SubBob".
|
|
/// </summary>
|
|
public InputAction @SubBob => m_Wrapper.m_Normal_SubBob;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/ToBag".
|
|
/// </summary>
|
|
public InputAction @ToBag => m_Wrapper.m_Normal_ToBag;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Help".
|
|
/// </summary>
|
|
public InputAction @Help => m_Wrapper.m_Normal_Help;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Chat".
|
|
/// </summary>
|
|
public InputAction @Chat => m_Wrapper.m_Normal_Chat;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Info".
|
|
/// </summary>
|
|
public InputAction @Info => m_Wrapper.m_Normal_Info;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Skill".
|
|
/// </summary>
|
|
public InputAction @Skill => m_Wrapper.m_Normal_Skill;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/OpenBag".
|
|
/// </summary>
|
|
public InputAction @OpenBag => m_Wrapper.m_Normal_OpenBag;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Keepnet".
|
|
/// </summary>
|
|
public InputAction @Keepnet => m_Wrapper.m_Normal_Keepnet;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Make".
|
|
/// </summary>
|
|
public InputAction @Make => m_Wrapper.m_Normal_Make;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Map".
|
|
/// </summary>
|
|
public InputAction @Map => m_Wrapper.m_Normal_Map;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Quick1".
|
|
/// </summary>
|
|
public InputAction @Quick1 => m_Wrapper.m_Normal_Quick1;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Quick2".
|
|
/// </summary>
|
|
public InputAction @Quick2 => m_Wrapper.m_Normal_Quick2;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Quick3".
|
|
/// </summary>
|
|
public InputAction @Quick3 => m_Wrapper.m_Normal_Quick3;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Quick4".
|
|
/// </summary>
|
|
public InputAction @Quick4 => m_Wrapper.m_Normal_Quick4;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Quick5".
|
|
/// </summary>
|
|
public InputAction @Quick5 => m_Wrapper.m_Normal_Quick5;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Quick6".
|
|
/// </summary>
|
|
public InputAction @Quick6 => m_Wrapper.m_Normal_Quick6;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Quick7".
|
|
/// </summary>
|
|
public InputAction @Quick7 => m_Wrapper.m_Normal_Quick7;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Quick8".
|
|
/// </summary>
|
|
public InputAction @Quick8 => m_Wrapper.m_Normal_Quick8;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "Normal/Quick9".
|
|
/// </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; }
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.Enable()" />
|
|
public void Enable() { Get().Enable(); }
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.Disable()" />
|
|
public void Disable() { Get().Disable(); }
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.enabled" />
|
|
public bool enabled => Get().enabled;
|
|
/// <summary>
|
|
/// Implicitly converts an <see ref="NormalActions" /> to an <see ref="InputActionMap" /> instance.
|
|
/// </summary>
|
|
public static implicit operator InputActionMap(NormalActions set) { return set.Get(); }
|
|
/// <summary>
|
|
/// Adds <see cref="InputAction.started"/>, <see cref="InputAction.performed"/> and <see cref="InputAction.canceled"/> callbacks provided via <param cref="instance" /> on all input actions contained in this map.
|
|
/// </summary>
|
|
/// <param name="instance">Callback instance.</param>
|
|
/// <remarks>
|
|
/// If <paramref name="instance" /> is <c>null</c> or <paramref name="instance"/> have already been added this method does nothing.
|
|
/// </remarks>
|
|
/// <seealso cref="NormalActions" />
|
|
public void AddCallbacks(INormalActions instance)
|
|
{
|
|
if (instance == null || m_Wrapper.m_NormalActionsCallbackInterfaces.Contains(instance)) return;
|
|
m_Wrapper.m_NormalActionsCallbackInterfaces.Add(instance);
|
|
@Move.started += instance.OnMove;
|
|
@Move.performed += instance.OnMove;
|
|
@Move.canceled += instance.OnMove;
|
|
@Look.started += instance.OnLook;
|
|
@Look.performed += instance.OnLook;
|
|
@Look.canceled += instance.OnLook;
|
|
@Zoom.started += instance.OnZoom;
|
|
@Zoom.performed += instance.OnZoom;
|
|
@Zoom.canceled += instance.OnZoom;
|
|
@Jump.started += instance.OnJump;
|
|
@Jump.performed += instance.OnJump;
|
|
@Jump.canceled += instance.OnJump;
|
|
@Run.started += instance.OnRun;
|
|
@Run.performed += instance.OnRun;
|
|
@Run.canceled += instance.OnRun;
|
|
@Op1.started += instance.OnOp1;
|
|
@Op1.performed += instance.OnOp1;
|
|
@Op1.canceled += instance.OnOp1;
|
|
@Op2.started += instance.OnOp2;
|
|
@Op2.performed += instance.OnOp2;
|
|
@Op2.canceled += instance.OnOp2;
|
|
@Use.started += instance.OnUse;
|
|
@Use.performed += instance.OnUse;
|
|
@Use.canceled += instance.OnUse;
|
|
@SelectItem.started += instance.OnSelectItem;
|
|
@SelectItem.performed += instance.OnSelectItem;
|
|
@SelectItem.canceled += instance.OnSelectItem;
|
|
@SelectBait.started += instance.OnSelectBait;
|
|
@SelectBait.performed += instance.OnSelectBait;
|
|
@SelectBait.canceled += instance.OnSelectBait;
|
|
@SelectFood.started += instance.OnSelectFood;
|
|
@SelectFood.performed += instance.OnSelectFood;
|
|
@SelectFood.canceled += instance.OnSelectFood;
|
|
@UseTorch.started += instance.OnUseTorch;
|
|
@UseTorch.performed += instance.OnUseTorch;
|
|
@UseTorch.canceled += instance.OnUseTorch;
|
|
@UseTelescope.started += instance.OnUseTelescope;
|
|
@UseTelescope.performed += instance.OnUseTelescope;
|
|
@UseTelescope.canceled += instance.OnUseTelescope;
|
|
@UseBrail.started += instance.OnUseBrail;
|
|
@UseBrail.performed += instance.OnUseBrail;
|
|
@UseBrail.canceled += instance.OnUseBrail;
|
|
@AddBob.started += instance.OnAddBob;
|
|
@AddBob.performed += instance.OnAddBob;
|
|
@AddBob.canceled += instance.OnAddBob;
|
|
@SubBob.started += instance.OnSubBob;
|
|
@SubBob.performed += instance.OnSubBob;
|
|
@SubBob.canceled += instance.OnSubBob;
|
|
@ToBag.started += instance.OnToBag;
|
|
@ToBag.performed += instance.OnToBag;
|
|
@ToBag.canceled += instance.OnToBag;
|
|
@Help.started += instance.OnHelp;
|
|
@Help.performed += instance.OnHelp;
|
|
@Help.canceled += instance.OnHelp;
|
|
@Chat.started += instance.OnChat;
|
|
@Chat.performed += instance.OnChat;
|
|
@Chat.canceled += instance.OnChat;
|
|
@Info.started += instance.OnInfo;
|
|
@Info.performed += instance.OnInfo;
|
|
@Info.canceled += instance.OnInfo;
|
|
@Skill.started += instance.OnSkill;
|
|
@Skill.performed += instance.OnSkill;
|
|
@Skill.canceled += instance.OnSkill;
|
|
@OpenBag.started += instance.OnOpenBag;
|
|
@OpenBag.performed += instance.OnOpenBag;
|
|
@OpenBag.canceled += instance.OnOpenBag;
|
|
@Keepnet.started += instance.OnKeepnet;
|
|
@Keepnet.performed += instance.OnKeepnet;
|
|
@Keepnet.canceled += instance.OnKeepnet;
|
|
@Make.started += instance.OnMake;
|
|
@Make.performed += instance.OnMake;
|
|
@Make.canceled += instance.OnMake;
|
|
@Map.started += instance.OnMap;
|
|
@Map.performed += instance.OnMap;
|
|
@Map.canceled += instance.OnMap;
|
|
@Quick1.started += instance.OnQuick1;
|
|
@Quick1.performed += instance.OnQuick1;
|
|
@Quick1.canceled += instance.OnQuick1;
|
|
@Quick2.started += instance.OnQuick2;
|
|
@Quick2.performed += instance.OnQuick2;
|
|
@Quick2.canceled += instance.OnQuick2;
|
|
@Quick3.started += instance.OnQuick3;
|
|
@Quick3.performed += instance.OnQuick3;
|
|
@Quick3.canceled += instance.OnQuick3;
|
|
@Quick4.started += instance.OnQuick4;
|
|
@Quick4.performed += instance.OnQuick4;
|
|
@Quick4.canceled += instance.OnQuick4;
|
|
@Quick5.started += instance.OnQuick5;
|
|
@Quick5.performed += instance.OnQuick5;
|
|
@Quick5.canceled += instance.OnQuick5;
|
|
@Quick6.started += instance.OnQuick6;
|
|
@Quick6.performed += instance.OnQuick6;
|
|
@Quick6.canceled += instance.OnQuick6;
|
|
@Quick7.started += instance.OnQuick7;
|
|
@Quick7.performed += instance.OnQuick7;
|
|
@Quick7.canceled += instance.OnQuick7;
|
|
@Quick8.started += instance.OnQuick8;
|
|
@Quick8.performed += instance.OnQuick8;
|
|
@Quick8.canceled += instance.OnQuick8;
|
|
@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>
|
|
/// Removes <see cref="InputAction.started"/>, <see cref="InputAction.performed"/> and <see cref="InputAction.canceled"/> callbacks provided via <param cref="instance" /> on all input actions contained in this map.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Calling this method when <paramref name="instance" /> have not previously been registered has no side-effects.
|
|
/// </remarks>
|
|
/// <seealso cref="NormalActions" />
|
|
private void UnregisterCallbacks(INormalActions instance)
|
|
{
|
|
@Move.started -= instance.OnMove;
|
|
@Move.performed -= instance.OnMove;
|
|
@Move.canceled -= instance.OnMove;
|
|
@Look.started -= instance.OnLook;
|
|
@Look.performed -= instance.OnLook;
|
|
@Look.canceled -= instance.OnLook;
|
|
@Zoom.started -= instance.OnZoom;
|
|
@Zoom.performed -= instance.OnZoom;
|
|
@Zoom.canceled -= instance.OnZoom;
|
|
@Jump.started -= instance.OnJump;
|
|
@Jump.performed -= instance.OnJump;
|
|
@Jump.canceled -= instance.OnJump;
|
|
@Run.started -= instance.OnRun;
|
|
@Run.performed -= instance.OnRun;
|
|
@Run.canceled -= instance.OnRun;
|
|
@Op1.started -= instance.OnOp1;
|
|
@Op1.performed -= instance.OnOp1;
|
|
@Op1.canceled -= instance.OnOp1;
|
|
@Op2.started -= instance.OnOp2;
|
|
@Op2.performed -= instance.OnOp2;
|
|
@Op2.canceled -= instance.OnOp2;
|
|
@Use.started -= instance.OnUse;
|
|
@Use.performed -= instance.OnUse;
|
|
@Use.canceled -= instance.OnUse;
|
|
@SelectItem.started -= instance.OnSelectItem;
|
|
@SelectItem.performed -= instance.OnSelectItem;
|
|
@SelectItem.canceled -= instance.OnSelectItem;
|
|
@SelectBait.started -= instance.OnSelectBait;
|
|
@SelectBait.performed -= instance.OnSelectBait;
|
|
@SelectBait.canceled -= instance.OnSelectBait;
|
|
@SelectFood.started -= instance.OnSelectFood;
|
|
@SelectFood.performed -= instance.OnSelectFood;
|
|
@SelectFood.canceled -= instance.OnSelectFood;
|
|
@UseTorch.started -= instance.OnUseTorch;
|
|
@UseTorch.performed -= instance.OnUseTorch;
|
|
@UseTorch.canceled -= instance.OnUseTorch;
|
|
@UseTelescope.started -= instance.OnUseTelescope;
|
|
@UseTelescope.performed -= instance.OnUseTelescope;
|
|
@UseTelescope.canceled -= instance.OnUseTelescope;
|
|
@UseBrail.started -= instance.OnUseBrail;
|
|
@UseBrail.performed -= instance.OnUseBrail;
|
|
@UseBrail.canceled -= instance.OnUseBrail;
|
|
@AddBob.started -= instance.OnAddBob;
|
|
@AddBob.performed -= instance.OnAddBob;
|
|
@AddBob.canceled -= instance.OnAddBob;
|
|
@SubBob.started -= instance.OnSubBob;
|
|
@SubBob.performed -= instance.OnSubBob;
|
|
@SubBob.canceled -= instance.OnSubBob;
|
|
@ToBag.started -= instance.OnToBag;
|
|
@ToBag.performed -= instance.OnToBag;
|
|
@ToBag.canceled -= instance.OnToBag;
|
|
@Help.started -= instance.OnHelp;
|
|
@Help.performed -= instance.OnHelp;
|
|
@Help.canceled -= instance.OnHelp;
|
|
@Chat.started -= instance.OnChat;
|
|
@Chat.performed -= instance.OnChat;
|
|
@Chat.canceled -= instance.OnChat;
|
|
@Info.started -= instance.OnInfo;
|
|
@Info.performed -= instance.OnInfo;
|
|
@Info.canceled -= instance.OnInfo;
|
|
@Skill.started -= instance.OnSkill;
|
|
@Skill.performed -= instance.OnSkill;
|
|
@Skill.canceled -= instance.OnSkill;
|
|
@OpenBag.started -= instance.OnOpenBag;
|
|
@OpenBag.performed -= instance.OnOpenBag;
|
|
@OpenBag.canceled -= instance.OnOpenBag;
|
|
@Keepnet.started -= instance.OnKeepnet;
|
|
@Keepnet.performed -= instance.OnKeepnet;
|
|
@Keepnet.canceled -= instance.OnKeepnet;
|
|
@Make.started -= instance.OnMake;
|
|
@Make.performed -= instance.OnMake;
|
|
@Make.canceled -= instance.OnMake;
|
|
@Map.started -= instance.OnMap;
|
|
@Map.performed -= instance.OnMap;
|
|
@Map.canceled -= instance.OnMap;
|
|
@Quick1.started -= instance.OnQuick1;
|
|
@Quick1.performed -= instance.OnQuick1;
|
|
@Quick1.canceled -= instance.OnQuick1;
|
|
@Quick2.started -= instance.OnQuick2;
|
|
@Quick2.performed -= instance.OnQuick2;
|
|
@Quick2.canceled -= instance.OnQuick2;
|
|
@Quick3.started -= instance.OnQuick3;
|
|
@Quick3.performed -= instance.OnQuick3;
|
|
@Quick3.canceled -= instance.OnQuick3;
|
|
@Quick4.started -= instance.OnQuick4;
|
|
@Quick4.performed -= instance.OnQuick4;
|
|
@Quick4.canceled -= instance.OnQuick4;
|
|
@Quick5.started -= instance.OnQuick5;
|
|
@Quick5.performed -= instance.OnQuick5;
|
|
@Quick5.canceled -= instance.OnQuick5;
|
|
@Quick6.started -= instance.OnQuick6;
|
|
@Quick6.performed -= instance.OnQuick6;
|
|
@Quick6.canceled -= instance.OnQuick6;
|
|
@Quick7.started -= instance.OnQuick7;
|
|
@Quick7.performed -= instance.OnQuick7;
|
|
@Quick7.canceled -= instance.OnQuick7;
|
|
@Quick8.started -= instance.OnQuick8;
|
|
@Quick8.performed -= instance.OnQuick8;
|
|
@Quick8.canceled -= instance.OnQuick8;
|
|
@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>
|
|
/// Unregisters <param cref="instance" /> and unregisters all input action callbacks via <see cref="NormalActions.UnregisterCallbacks(INormalActions)" />.
|
|
/// </summary>
|
|
/// <seealso cref="NormalActions.UnregisterCallbacks(INormalActions)" />
|
|
public void RemoveCallbacks(INormalActions instance)
|
|
{
|
|
if (m_Wrapper.m_NormalActionsCallbackInterfaces.Remove(instance))
|
|
UnregisterCallbacks(instance);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via <param cref="instance" />.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// If <paramref name="instance" /> is <c>null</c>, calling this method will only unregister all existing callbacks but not register any new callbacks.
|
|
/// </remarks>
|
|
/// <seealso cref="NormalActions.AddCallbacks(INormalActions)" />
|
|
/// <seealso cref="NormalActions.RemoveCallbacks(INormalActions)" />
|
|
/// <seealso cref="NormalActions.UnregisterCallbacks(INormalActions)" />
|
|
public void SetCallbacks(INormalActions instance)
|
|
{
|
|
foreach (var item in m_Wrapper.m_NormalActionsCallbackInterfaces)
|
|
UnregisterCallbacks(item);
|
|
m_Wrapper.m_NormalActionsCallbackInterfaces.Clear();
|
|
AddCallbacks(instance);
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Provides a new <see cref="NormalActions" /> instance referencing this action map.
|
|
/// </summary>
|
|
public NormalActions @Normal => new NormalActions(this);
|
|
|
|
// UI
|
|
private readonly InputActionMap m_UI;
|
|
private List<IUIActions> m_UIActionsCallbackInterfaces = new List<IUIActions>();
|
|
private readonly InputAction m_UI_Roll;
|
|
/// <summary>
|
|
/// Provides access to input actions defined in input action map "UI".
|
|
/// </summary>
|
|
public struct UIActions
|
|
{
|
|
private @PlayerInputControl m_Wrapper;
|
|
|
|
/// <summary>
|
|
/// Construct a new instance of the input action map wrapper class.
|
|
/// </summary>
|
|
public UIActions(@PlayerInputControl wrapper) { m_Wrapper = wrapper; }
|
|
/// <summary>
|
|
/// Provides access to the underlying input action "UI/Roll".
|
|
/// </summary>
|
|
public InputAction @Roll => m_Wrapper.m_UI_Roll;
|
|
/// <summary>
|
|
/// Provides access to the underlying input action map instance.
|
|
/// </summary>
|
|
public InputActionMap Get() { return m_Wrapper.m_UI; }
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.Enable()" />
|
|
public void Enable() { Get().Enable(); }
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.Disable()" />
|
|
public void Disable() { Get().Disable(); }
|
|
/// <inheritdoc cref="UnityEngine.InputSystem.InputActionMap.enabled" />
|
|
public bool enabled => Get().enabled;
|
|
/// <summary>
|
|
/// Implicitly converts an <see ref="UIActions" /> to an <see ref="InputActionMap" /> instance.
|
|
/// </summary>
|
|
public static implicit operator InputActionMap(UIActions set) { return set.Get(); }
|
|
/// <summary>
|
|
/// Adds <see cref="InputAction.started"/>, <see cref="InputAction.performed"/> and <see cref="InputAction.canceled"/> callbacks provided via <param cref="instance" /> on all input actions contained in this map.
|
|
/// </summary>
|
|
/// <param name="instance">Callback instance.</param>
|
|
/// <remarks>
|
|
/// If <paramref name="instance" /> is <c>null</c> or <paramref name="instance"/> have already been added this method does nothing.
|
|
/// </remarks>
|
|
/// <seealso cref="UIActions" />
|
|
public void AddCallbacks(IUIActions instance)
|
|
{
|
|
if (instance == null || m_Wrapper.m_UIActionsCallbackInterfaces.Contains(instance)) return;
|
|
m_Wrapper.m_UIActionsCallbackInterfaces.Add(instance);
|
|
@Roll.started += instance.OnRoll;
|
|
@Roll.performed += instance.OnRoll;
|
|
@Roll.canceled += instance.OnRoll;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Removes <see cref="InputAction.started"/>, <see cref="InputAction.performed"/> and <see cref="InputAction.canceled"/> callbacks provided via <param cref="instance" /> on all input actions contained in this map.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Calling this method when <paramref name="instance" /> have not previously been registered has no side-effects.
|
|
/// </remarks>
|
|
/// <seealso cref="UIActions" />
|
|
private void UnregisterCallbacks(IUIActions instance)
|
|
{
|
|
@Roll.started -= instance.OnRoll;
|
|
@Roll.performed -= instance.OnRoll;
|
|
@Roll.canceled -= instance.OnRoll;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Unregisters <param cref="instance" /> and unregisters all input action callbacks via <see cref="UIActions.UnregisterCallbacks(IUIActions)" />.
|
|
/// </summary>
|
|
/// <seealso cref="UIActions.UnregisterCallbacks(IUIActions)" />
|
|
public void RemoveCallbacks(IUIActions instance)
|
|
{
|
|
if (m_Wrapper.m_UIActionsCallbackInterfaces.Remove(instance))
|
|
UnregisterCallbacks(instance);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Replaces all existing callback instances and previously registered input action callbacks associated with them with callbacks provided via <param cref="instance" />.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// If <paramref name="instance" /> is <c>null</c>, calling this method will only unregister all existing callbacks but not register any new callbacks.
|
|
/// </remarks>
|
|
/// <seealso cref="UIActions.AddCallbacks(IUIActions)" />
|
|
/// <seealso cref="UIActions.RemoveCallbacks(IUIActions)" />
|
|
/// <seealso cref="UIActions.UnregisterCallbacks(IUIActions)" />
|
|
public void SetCallbacks(IUIActions instance)
|
|
{
|
|
foreach (var item in m_Wrapper.m_UIActionsCallbackInterfaces)
|
|
UnregisterCallbacks(item);
|
|
m_Wrapper.m_UIActionsCallbackInterfaces.Clear();
|
|
AddCallbacks(instance);
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Provides a new <see cref="UIActions" /> instance referencing this action map.
|
|
/// </summary>
|
|
public UIActions @UI => new UIActions(this);
|
|
private int m_KeyboardMouseSchemeIndex = -1;
|
|
/// <summary>
|
|
/// Provides access to the input control scheme.
|
|
/// </summary>
|
|
/// <seealso cref="UnityEngine.InputSystem.InputControlScheme" />
|
|
public InputControlScheme KeyboardMouseScheme
|
|
{
|
|
get
|
|
{
|
|
if (m_KeyboardMouseSchemeIndex == -1) m_KeyboardMouseSchemeIndex = asset.FindControlSchemeIndex("Keyboard&Mouse");
|
|
return asset.controlSchemes[m_KeyboardMouseSchemeIndex];
|
|
}
|
|
}
|
|
private int m_GamepadSchemeIndex = -1;
|
|
/// <summary>
|
|
/// Provides access to the input control scheme.
|
|
/// </summary>
|
|
/// <seealso cref="UnityEngine.InputSystem.InputControlScheme" />
|
|
public InputControlScheme GamepadScheme
|
|
{
|
|
get
|
|
{
|
|
if (m_GamepadSchemeIndex == -1) m_GamepadSchemeIndex = asset.FindControlSchemeIndex("Gamepad");
|
|
return asset.controlSchemes[m_GamepadSchemeIndex];
|
|
}
|
|
}
|
|
private int m_TouchSchemeIndex = -1;
|
|
/// <summary>
|
|
/// Provides access to the input control scheme.
|
|
/// </summary>
|
|
/// <seealso cref="UnityEngine.InputSystem.InputControlScheme" />
|
|
public InputControlScheme TouchScheme
|
|
{
|
|
get
|
|
{
|
|
if (m_TouchSchemeIndex == -1) m_TouchSchemeIndex = asset.FindControlSchemeIndex("Touch");
|
|
return asset.controlSchemes[m_TouchSchemeIndex];
|
|
}
|
|
}
|
|
private int m_JoystickSchemeIndex = -1;
|
|
/// <summary>
|
|
/// Provides access to the input control scheme.
|
|
/// </summary>
|
|
/// <seealso cref="UnityEngine.InputSystem.InputControlScheme" />
|
|
public InputControlScheme JoystickScheme
|
|
{
|
|
get
|
|
{
|
|
if (m_JoystickSchemeIndex == -1) m_JoystickSchemeIndex = asset.FindControlSchemeIndex("Joystick");
|
|
return asset.controlSchemes[m_JoystickSchemeIndex];
|
|
}
|
|
}
|
|
private int m_XRSchemeIndex = -1;
|
|
/// <summary>
|
|
/// Provides access to the input control scheme.
|
|
/// </summary>
|
|
/// <seealso cref="UnityEngine.InputSystem.InputControlScheme" />
|
|
public InputControlScheme XRScheme
|
|
{
|
|
get
|
|
{
|
|
if (m_XRSchemeIndex == -1) m_XRSchemeIndex = asset.FindControlSchemeIndex("XR");
|
|
return asset.controlSchemes[m_XRSchemeIndex];
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Interface to implement callback methods for all input action callbacks associated with input actions defined by "Normal" which allows adding and removing callbacks.
|
|
/// </summary>
|
|
/// <seealso cref="NormalActions.AddCallbacks(INormalActions)" />
|
|
/// <seealso cref="NormalActions.RemoveCallbacks(INormalActions)" />
|
|
public interface INormalActions
|
|
{
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Move" 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 OnMove(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Look" 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 OnLook(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Zoom" 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 OnZoom(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Jump" 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 OnJump(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Run" 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 OnRun(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Op1" 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 OnOp1(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Op2" 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 OnOp2(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Use" 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 OnUse(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "SelectItem" 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 OnSelectItem(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "SelectBait" 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 OnSelectBait(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "SelectFood" 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 OnSelectFood(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "UseTorch" 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 OnUseTorch(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "UseTelescope" 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 OnUseTelescope(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "UseBrail" 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 OnUseBrail(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "AddBob" 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 OnAddBob(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "SubBob" 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 OnSubBob(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "ToBag" 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 OnToBag(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Help" 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 OnHelp(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Chat" 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 OnChat(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Info" 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 OnInfo(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Skill" 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 OnSkill(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "OpenBag" 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 OnOpenBag(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Keepnet" 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 OnKeepnet(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Make" 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 OnMake(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Map" 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 OnMap(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Quick1" 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 OnQuick1(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Quick2" 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 OnQuick2(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Quick3" 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 OnQuick3(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Quick4" 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 OnQuick4(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Quick5" 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 OnQuick5(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Quick6" 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 OnQuick6(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Quick7" 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 OnQuick7(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Quick8" 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 OnQuick8(InputAction.CallbackContext context);
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Quick9" 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 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.
|
|
/// </summary>
|
|
/// <seealso cref="UIActions.AddCallbacks(IUIActions)" />
|
|
/// <seealso cref="UIActions.RemoveCallbacks(IUIActions)" />
|
|
public interface IUIActions
|
|
{
|
|
/// <summary>
|
|
/// Method invoked when associated input action "Roll" 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 OnRoll(InputAction.CallbackContext context);
|
|
}
|
|
}
|
|
}
|