feat: Addressables rules/sync tools, UI fixes, AddressKeys update
- Add AddressableRules.cs: single source of truth for prefix->group and prefix->label rules - Add AddressableRuleSyncWindow.cs: scan/fix/export-CSV tool (BaseGames > Addressables > Rule Sync) - AddressableBatchTool.cs: delegate DeriveGroupName to AddressableRules, remove duplicate PrefixGroupMap - AddressKeys.cs: add Labels constants (Preload, Poolable, Enemy, BGM, SFX, Charms, Config, Weapon) - Docs/Standards/AddressablesLabelSpec.md: new label naming & assignment spec - Docs/Standards/AssetFolderSpec.md: update Addressables group strategy section - SplashScreenController.cs: fix MainMenu loading flow - BootFlowSetupWizard.cs / SceneScaffoldTools.cs: scene scaffold fixes - PlayerInputActions: set UI/Point to Pass-Through type - Persistent.unity: add BootSequencer to auto-load MainMenu on play - EditorBuildSettings.asset: register scenes for build Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// <auto-generated>
|
||||
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
|
||||
// version 1.14.2
|
||||
// from Assets/Settings/PlayerInputActions.inputactions
|
||||
// from Assets/_Game/Settings/PlayerInputActions.inputactions
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
@@ -16,7 +16,7 @@ using UnityEngine.InputSystem;
|
||||
using UnityEngine.InputSystem.Utilities;
|
||||
|
||||
/// <summary>
|
||||
/// Provides programmatic access to <see cref="InputActionAsset" />, <see cref="InputActionMap" />, <see cref="InputAction" /> and <see cref="InputControlScheme" /> instances defined in asset "Assets/Settings/PlayerInputActions.inputactions".
|
||||
/// Provides programmatic access to <see cref="InputActionAsset" />, <see cref="InputActionMap" />, <see cref="InputAction" /> and <see cref="InputControlScheme" /> instances defined in asset "Assets/_Game/Settings/PlayerInputActions.inputactions".
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This class is source generated and any manual edits will be discarded if the associated asset is reimported or modified.
|
||||
@@ -231,7 +231,7 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
""name"": ""Pause"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""b15ae123-2d81-4473-a16f-dc7f1a9d3527"",
|
||||
""expectedControlType"": ""Button"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
@@ -581,21 +581,30 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
},
|
||||
{
|
||||
""name"": ""UI"",
|
||||
""id"": ""905d74a5-6596-4177-8377-8a05d113b186"",
|
||||
""id"": ""ba1e4240-82fc-40d3-ac98-5fe1f6ed88c0"",
|
||||
""actions"": [
|
||||
{
|
||||
""name"": ""Navigate"",
|
||||
""type"": ""Value"",
|
||||
""id"": ""16469da9-bfd0-4a21-a370-d89bdb682245"",
|
||||
""type"": ""PassThrough"",
|
||||
""id"": ""f8fcd154-d35c-40b0-b99a-0d1df5fa2e1f"",
|
||||
""expectedControlType"": ""Vector2"",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": true
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""Pause"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""2d22c992-df5f-4d63-8a35-42a1464f7ff3"",
|
||||
""expectedControlType"": """",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""Submit"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""133cd9f7-2cbb-4e69-a67f-929b5f258cef"",
|
||||
""id"": ""0deec593-3bdc-4a97-9b78-bc841ed7d75c"",
|
||||
""expectedControlType"": ""Button"",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
@@ -604,16 +613,7 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
{
|
||||
""name"": ""Cancel"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""d6902a56-8d24-401e-a0e7-1d9f24743377"",
|
||||
""expectedControlType"": ""Button"",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""Pause"",
|
||||
""type"": ""Button"",
|
||||
""id"": ""bb4dfee5-99f7-43a5-971f-2e727227ae24"",
|
||||
""id"": ""b304717b-ed90-4179-8543-fac11a253476"",
|
||||
""expectedControlType"": ""Button"",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
@@ -621,29 +621,72 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
},
|
||||
{
|
||||
""name"": ""Point"",
|
||||
""type"": ""Value"",
|
||||
""id"": ""4e32bfb2-f45a-4606-8b3f-74578320de78"",
|
||||
""type"": ""PassThrough"",
|
||||
""id"": ""97dfade5-1878-4e11-8309-5a63013df36b"",
|
||||
""expectedControlType"": ""Vector2"",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": true
|
||||
},
|
||||
{
|
||||
""name"": ""Click"",
|
||||
""type"": ""PassThrough"",
|
||||
""id"": ""1f4a2847-9ec5-474b-9743-5f4ff65a2479"",
|
||||
""expectedControlType"": ""Button"",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": true
|
||||
},
|
||||
{
|
||||
""name"": ""ScrollWheel"",
|
||||
""type"": ""PassThrough"",
|
||||
""id"": ""7139aa93-a0de-4ac9-9f0d-b804e9d38c30"",
|
||||
""expectedControlType"": ""Vector2"",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""MiddleClick"",
|
||||
""type"": ""PassThrough"",
|
||||
""id"": ""9e9a8297-7298-4c98-94f5-dba6950ea2ba"",
|
||||
""expectedControlType"": ""Button"",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""RightClick"",
|
||||
""type"": ""PassThrough"",
|
||||
""id"": ""a9dfbbec-1954-43bb-ba82-9553ef02752c"",
|
||||
""expectedControlType"": ""Button"",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""TrackedDevicePosition"",
|
||||
""type"": ""PassThrough"",
|
||||
""id"": ""8e630404-0267-4c8f-af31-a26398ce7cf9"",
|
||||
""expectedControlType"": ""Vector3"",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
},
|
||||
{
|
||||
""name"": ""TrackedDeviceOrientation"",
|
||||
""type"": ""PassThrough"",
|
||||
""id"": ""8657997d-5de9-4a9e-bd3e-e9b00f9f8791"",
|
||||
""expectedControlType"": ""Quaternion"",
|
||||
""processors"": """",
|
||||
""interactions"": """",
|
||||
""initialStateCheck"": false
|
||||
}
|
||||
],
|
||||
""bindings"": [
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""33e3a0ed-3d92-4e66-89f1-d35c7f47a2bd"",
|
||||
""path"": ""<Gamepad>/leftStick"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Gamepad"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": ""2D Vector"",
|
||||
""id"": ""0445f630-8dc6-438d-bbe9-46c34ae7abc6"",
|
||||
""name"": ""Gamepad"",
|
||||
""id"": ""1d26a74e-68cf-48c7-85f2-c85244e2c86f"",
|
||||
""path"": ""2DVector"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
@@ -654,7 +697,183 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
},
|
||||
{
|
||||
""name"": ""up"",
|
||||
""id"": ""60f27c2f-f363-44bb-b0f4-cdef654322ae"",
|
||||
""id"": ""b489e707-914b-4478-b911-10e75a73e5c2"",
|
||||
""path"": ""<Gamepad>/leftStick/up"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Gamepad"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""up"",
|
||||
""id"": ""10f2d6a4-94da-4d79-88cc-a9dadadfa120"",
|
||||
""path"": ""<Gamepad>/rightStick/up"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Gamepad"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""down"",
|
||||
""id"": ""ddd79bd5-5503-4eab-aca2-93d92575a84a"",
|
||||
""path"": ""<Gamepad>/leftStick/down"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Gamepad"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""down"",
|
||||
""id"": ""9b164cbe-a66c-4caf-ba09-a6f84b36475a"",
|
||||
""path"": ""<Gamepad>/rightStick/down"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Gamepad"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""left"",
|
||||
""id"": ""b59f3f33-9730-422a-99c1-2695cec5e48a"",
|
||||
""path"": ""<Gamepad>/leftStick/left"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Gamepad"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""left"",
|
||||
""id"": ""506400ef-6960-4032-9624-6ec131423eb2"",
|
||||
""path"": ""<Gamepad>/rightStick/left"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Gamepad"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""right"",
|
||||
""id"": ""2c07c3b4-699b-4dde-ab28-5bd8f190eaf3"",
|
||||
""path"": ""<Gamepad>/leftStick/right"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Gamepad"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""right"",
|
||||
""id"": ""6a545dc0-75d7-4556-8af8-c060d951a2c2"",
|
||||
""path"": ""<Gamepad>/rightStick/right"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Gamepad"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""38b742b3-8125-485c-ab6d-8bfe034acb78"",
|
||||
""path"": ""<Gamepad>/dpad"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Gamepad"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": ""Joystick"",
|
||||
""id"": ""707eaebc-a6db-449c-9c83-ae6773cdcaf7"",
|
||||
""path"": ""2DVector"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": """",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": true,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": ""up"",
|
||||
""id"": ""9714a5ad-d5fb-44c3-be0f-a134a5ddb03b"",
|
||||
""path"": ""<Joystick>/stick/up"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Joystick"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""down"",
|
||||
""id"": ""9eef44a9-6c59-4dba-9e52-1a51edf8255e"",
|
||||
""path"": ""<Joystick>/stick/down"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Joystick"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""left"",
|
||||
""id"": ""75219c79-9470-41e8-88ef-a35eb5d532a5"",
|
||||
""path"": ""<Joystick>/stick/left"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Joystick"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""right"",
|
||||
""id"": ""0eb30457-c8b6-426a-bd9a-919d3d720fef"",
|
||||
""path"": ""<Joystick>/stick/right"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Joystick"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""Keyboard"",
|
||||
""id"": ""d19dae69-faee-40a3-87c0-a292c879607d"",
|
||||
""path"": ""2DVector"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": """",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": true,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": ""up"",
|
||||
""id"": ""f1745283-5e7c-4121-a44e-91e4a12a86a2"",
|
||||
""path"": ""<Keyboard>/w"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Keyboard&Mouse"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""up"",
|
||||
""id"": ""fec1489f-16c5-49ea-8be3-f29336444c5a"",
|
||||
""path"": ""<Keyboard>/upArrow"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
@@ -665,7 +884,18 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
},
|
||||
{
|
||||
""name"": ""down"",
|
||||
""id"": ""4567655f-b7a9-4458-a0c0-929d4020a401"",
|
||||
""id"": ""f10707c9-071c-41f2-b97f-5f46cb95b15e"",
|
||||
""path"": ""<Keyboard>/s"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Keyboard&Mouse"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""down"",
|
||||
""id"": ""be8f5a8e-a4a9-4bbe-91a8-ae2811ff9696"",
|
||||
""path"": ""<Keyboard>/downArrow"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
@@ -676,7 +906,18 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
},
|
||||
{
|
||||
""name"": ""left"",
|
||||
""id"": ""f10bf7f0-6a08-4d8a-893d-efe31c6a95e3"",
|
||||
""id"": ""78875792-1535-4c46-9fad-6b6c7ae75bcd"",
|
||||
""path"": ""<Keyboard>/a"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Keyboard&Mouse"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""left"",
|
||||
""id"": ""fba38f2f-4996-47fc-b369-8480e9593f0b"",
|
||||
""path"": ""<Keyboard>/leftArrow"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
@@ -687,7 +928,18 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
},
|
||||
{
|
||||
""name"": ""right"",
|
||||
""id"": ""da749bdf-d05f-490c-827f-ab184a156c66"",
|
||||
""id"": ""3fa9923b-edfb-4def-abf8-801b7d9e77ca"",
|
||||
""path"": ""<Keyboard>/d"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Keyboard&Mouse"",
|
||||
""action"": ""Navigate"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""right"",
|
||||
""id"": ""aa7524f2-5737-44b0-8783-6e7a722ccdd5"",
|
||||
""path"": ""<Keyboard>/rightArrow"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
@@ -698,51 +950,7 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""6cc5c2c6-aa18-4f9e-a5ab-624147a93203"",
|
||||
""path"": ""<Keyboard>/enter"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Keyboard&Mouse"",
|
||||
""action"": ""Submit"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""80758152-6c57-4b22-add3-98b2a6b1c113"",
|
||||
""path"": ""<Gamepad>/buttonSouth"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Gamepad"",
|
||||
""action"": ""Submit"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""f8621671-e257-429a-b12c-2bfb1b6fa21c"",
|
||||
""path"": ""<Keyboard>/escape"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Keyboard&Mouse"",
|
||||
""action"": ""Cancel"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""0ca5a00e-8110-45e3-8465-0cbb6f3ea4aa"",
|
||||
""path"": ""<Gamepad>/buttonEast"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Gamepad"",
|
||||
""action"": ""Cancel"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""58af2641-5e8b-4e49-89e6-5e47ada4fb07"",
|
||||
""id"": ""5c3030c2-489b-43cc-92c3-c5eed849affa"",
|
||||
""path"": ""<Keyboard>/escape"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
@@ -753,7 +961,7 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""85ed737c-425e-4e66-a050-12b1ae5588ce"",
|
||||
""id"": ""5632ce4b-cb65-4d5a-a133-262727b68139"",
|
||||
""path"": ""<Gamepad>/start"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
@@ -764,7 +972,29 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""4add46ae-9c9a-4385-b180-5cd650aa89a6"",
|
||||
""id"": ""5ef7192c-3c67-4fff-b29a-b21377bbc430"",
|
||||
""path"": ""*/{Submit}"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Keyboard&Mouse;Gamepad;Touch;Joystick;XR"",
|
||||
""action"": ""Submit"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""e6b74122-53a6-4ad1-85fb-dce8de71bf51"",
|
||||
""path"": ""*/{Cancel}"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Keyboard&Mouse;Gamepad;Touch;Joystick;XR"",
|
||||
""action"": ""Cancel"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""448f17c8-8894-41c7-b41b-f39fceb9928f"",
|
||||
""path"": ""<Mouse>/position"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
@@ -772,6 +1002,127 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
""action"": ""Point"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""8ac9363b-5554-4db1-921a-76f0cd7c4630"",
|
||||
""path"": ""<Pen>/position"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Keyboard&Mouse"",
|
||||
""action"": ""Point"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""80efa3a9-c91c-428c-8f39-6d2924cbaae2"",
|
||||
""path"": ""<Touchscreen>/touch*/position"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Touch"",
|
||||
""action"": ""Point"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""7ea9b409-669b-46f6-b0af-c717a1406c95"",
|
||||
""path"": ""<Mouse>/leftButton"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""Click"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""0b684379-4daa-4656-9253-d07b04775dd2"",
|
||||
""path"": ""<Pen>/tip"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""Click"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""f4d64e59-b1a7-4517-9a7a-39972e4ae64a"",
|
||||
""path"": ""<Touchscreen>/touch*/press"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""Touch"",
|
||||
""action"": ""Click"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""1910f113-09ab-4ef0-b126-6a638f38e7d1"",
|
||||
""path"": ""<XRController>/trigger"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""XR"",
|
||||
""action"": ""Click"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""954897cb-1087-472a-b353-b041397ef647"",
|
||||
""path"": ""<Mouse>/scroll"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""ScrollWheel"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""591b8687-9f7e-498c-9cb6-aeafaa9013e7"",
|
||||
""path"": ""<Mouse>/middleButton"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""MiddleClick"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""790f83ba-a25d-4b98-ab40-e38af127bf61"",
|
||||
""path"": ""<Mouse>/rightButton"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": "";Keyboard&Mouse"",
|
||||
""action"": ""RightClick"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""26afc077-19d7-4014-984e-7ec31b029ec7"",
|
||||
""path"": ""<XRController>/devicePosition"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""XR"",
|
||||
""action"": ""TrackedDevicePosition"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": """",
|
||||
""id"": ""e4e7f9d2-6793-4d26-a064-5502fb8a94b1"",
|
||||
""path"": ""<XRController>/deviceRotation"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": ""XR"",
|
||||
""action"": ""TrackedDeviceOrientation"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -828,10 +1179,16 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
// UI
|
||||
m_UI = asset.FindActionMap("UI", throwIfNotFound: true);
|
||||
m_UI_Navigate = m_UI.FindAction("Navigate", throwIfNotFound: true);
|
||||
m_UI_Pause = m_UI.FindAction("Pause", throwIfNotFound: true);
|
||||
m_UI_Submit = m_UI.FindAction("Submit", throwIfNotFound: true);
|
||||
m_UI_Cancel = m_UI.FindAction("Cancel", throwIfNotFound: true);
|
||||
m_UI_Pause = m_UI.FindAction("Pause", throwIfNotFound: true);
|
||||
m_UI_Point = m_UI.FindAction("Point", throwIfNotFound: true);
|
||||
m_UI_Click = m_UI.FindAction("Click", throwIfNotFound: true);
|
||||
m_UI_ScrollWheel = m_UI.FindAction("ScrollWheel", throwIfNotFound: true);
|
||||
m_UI_MiddleClick = m_UI.FindAction("MiddleClick", throwIfNotFound: true);
|
||||
m_UI_RightClick = m_UI.FindAction("RightClick", throwIfNotFound: true);
|
||||
m_UI_TrackedDevicePosition = m_UI.FindAction("TrackedDevicePosition", throwIfNotFound: true);
|
||||
m_UI_TrackedDeviceOrientation = m_UI.FindAction("TrackedDeviceOrientation", throwIfNotFound: true);
|
||||
}
|
||||
|
||||
~@PlayerInputActions()
|
||||
@@ -1186,10 +1543,16 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
private readonly InputActionMap m_UI;
|
||||
private List<IUIActions> m_UIActionsCallbackInterfaces = new List<IUIActions>();
|
||||
private readonly InputAction m_UI_Navigate;
|
||||
private readonly InputAction m_UI_Pause;
|
||||
private readonly InputAction m_UI_Submit;
|
||||
private readonly InputAction m_UI_Cancel;
|
||||
private readonly InputAction m_UI_Pause;
|
||||
private readonly InputAction m_UI_Point;
|
||||
private readonly InputAction m_UI_Click;
|
||||
private readonly InputAction m_UI_ScrollWheel;
|
||||
private readonly InputAction m_UI_MiddleClick;
|
||||
private readonly InputAction m_UI_RightClick;
|
||||
private readonly InputAction m_UI_TrackedDevicePosition;
|
||||
private readonly InputAction m_UI_TrackedDeviceOrientation;
|
||||
/// <summary>
|
||||
/// Provides access to input actions defined in input action map "UI".
|
||||
/// </summary>
|
||||
@@ -1206,6 +1569,10 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
/// </summary>
|
||||
public InputAction @Navigate => m_Wrapper.m_UI_Navigate;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "UI/Pause".
|
||||
/// </summary>
|
||||
public InputAction @Pause => m_Wrapper.m_UI_Pause;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "UI/Submit".
|
||||
/// </summary>
|
||||
public InputAction @Submit => m_Wrapper.m_UI_Submit;
|
||||
@@ -1214,14 +1581,34 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
/// </summary>
|
||||
public InputAction @Cancel => m_Wrapper.m_UI_Cancel;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "UI/Pause".
|
||||
/// </summary>
|
||||
public InputAction @Pause => m_Wrapper.m_UI_Pause;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "UI/Point".
|
||||
/// </summary>
|
||||
public InputAction @Point => m_Wrapper.m_UI_Point;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "UI/Click".
|
||||
/// </summary>
|
||||
public InputAction @Click => m_Wrapper.m_UI_Click;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "UI/ScrollWheel".
|
||||
/// </summary>
|
||||
public InputAction @ScrollWheel => m_Wrapper.m_UI_ScrollWheel;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "UI/MiddleClick".
|
||||
/// </summary>
|
||||
public InputAction @MiddleClick => m_Wrapper.m_UI_MiddleClick;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "UI/RightClick".
|
||||
/// </summary>
|
||||
public InputAction @RightClick => m_Wrapper.m_UI_RightClick;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "UI/TrackedDevicePosition".
|
||||
/// </summary>
|
||||
public InputAction @TrackedDevicePosition => m_Wrapper.m_UI_TrackedDevicePosition;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action "UI/TrackedDeviceOrientation".
|
||||
/// </summary>
|
||||
public InputAction @TrackedDeviceOrientation => m_Wrapper.m_UI_TrackedDeviceOrientation;
|
||||
/// <summary>
|
||||
/// Provides access to the underlying input action map instance.
|
||||
/// </summary>
|
||||
public InputActionMap Get() { return m_Wrapper.m_UI; }
|
||||
@@ -1250,18 +1637,36 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
@Navigate.started += instance.OnNavigate;
|
||||
@Navigate.performed += instance.OnNavigate;
|
||||
@Navigate.canceled += instance.OnNavigate;
|
||||
@Pause.started += instance.OnPause;
|
||||
@Pause.performed += instance.OnPause;
|
||||
@Pause.canceled += instance.OnPause;
|
||||
@Submit.started += instance.OnSubmit;
|
||||
@Submit.performed += instance.OnSubmit;
|
||||
@Submit.canceled += instance.OnSubmit;
|
||||
@Cancel.started += instance.OnCancel;
|
||||
@Cancel.performed += instance.OnCancel;
|
||||
@Cancel.canceled += instance.OnCancel;
|
||||
@Pause.started += instance.OnPause;
|
||||
@Pause.performed += instance.OnPause;
|
||||
@Pause.canceled += instance.OnPause;
|
||||
@Point.started += instance.OnPoint;
|
||||
@Point.performed += instance.OnPoint;
|
||||
@Point.canceled += instance.OnPoint;
|
||||
@Click.started += instance.OnClick;
|
||||
@Click.performed += instance.OnClick;
|
||||
@Click.canceled += instance.OnClick;
|
||||
@ScrollWheel.started += instance.OnScrollWheel;
|
||||
@ScrollWheel.performed += instance.OnScrollWheel;
|
||||
@ScrollWheel.canceled += instance.OnScrollWheel;
|
||||
@MiddleClick.started += instance.OnMiddleClick;
|
||||
@MiddleClick.performed += instance.OnMiddleClick;
|
||||
@MiddleClick.canceled += instance.OnMiddleClick;
|
||||
@RightClick.started += instance.OnRightClick;
|
||||
@RightClick.performed += instance.OnRightClick;
|
||||
@RightClick.canceled += instance.OnRightClick;
|
||||
@TrackedDevicePosition.started += instance.OnTrackedDevicePosition;
|
||||
@TrackedDevicePosition.performed += instance.OnTrackedDevicePosition;
|
||||
@TrackedDevicePosition.canceled += instance.OnTrackedDevicePosition;
|
||||
@TrackedDeviceOrientation.started += instance.OnTrackedDeviceOrientation;
|
||||
@TrackedDeviceOrientation.performed += instance.OnTrackedDeviceOrientation;
|
||||
@TrackedDeviceOrientation.canceled += instance.OnTrackedDeviceOrientation;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1276,18 +1681,36 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
@Navigate.started -= instance.OnNavigate;
|
||||
@Navigate.performed -= instance.OnNavigate;
|
||||
@Navigate.canceled -= instance.OnNavigate;
|
||||
@Pause.started -= instance.OnPause;
|
||||
@Pause.performed -= instance.OnPause;
|
||||
@Pause.canceled -= instance.OnPause;
|
||||
@Submit.started -= instance.OnSubmit;
|
||||
@Submit.performed -= instance.OnSubmit;
|
||||
@Submit.canceled -= instance.OnSubmit;
|
||||
@Cancel.started -= instance.OnCancel;
|
||||
@Cancel.performed -= instance.OnCancel;
|
||||
@Cancel.canceled -= instance.OnCancel;
|
||||
@Pause.started -= instance.OnPause;
|
||||
@Pause.performed -= instance.OnPause;
|
||||
@Pause.canceled -= instance.OnPause;
|
||||
@Point.started -= instance.OnPoint;
|
||||
@Point.performed -= instance.OnPoint;
|
||||
@Point.canceled -= instance.OnPoint;
|
||||
@Click.started -= instance.OnClick;
|
||||
@Click.performed -= instance.OnClick;
|
||||
@Click.canceled -= instance.OnClick;
|
||||
@ScrollWheel.started -= instance.OnScrollWheel;
|
||||
@ScrollWheel.performed -= instance.OnScrollWheel;
|
||||
@ScrollWheel.canceled -= instance.OnScrollWheel;
|
||||
@MiddleClick.started -= instance.OnMiddleClick;
|
||||
@MiddleClick.performed -= instance.OnMiddleClick;
|
||||
@MiddleClick.canceled -= instance.OnMiddleClick;
|
||||
@RightClick.started -= instance.OnRightClick;
|
||||
@RightClick.performed -= instance.OnRightClick;
|
||||
@RightClick.canceled -= instance.OnRightClick;
|
||||
@TrackedDevicePosition.started -= instance.OnTrackedDevicePosition;
|
||||
@TrackedDevicePosition.performed -= instance.OnTrackedDevicePosition;
|
||||
@TrackedDevicePosition.canceled -= instance.OnTrackedDevicePosition;
|
||||
@TrackedDeviceOrientation.started -= instance.OnTrackedDeviceOrientation;
|
||||
@TrackedDeviceOrientation.performed -= instance.OnTrackedDeviceOrientation;
|
||||
@TrackedDeviceOrientation.canceled -= instance.OnTrackedDeviceOrientation;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1489,6 +1912,13 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
|
||||
void OnNavigate(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "Pause" 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 OnPause(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "Submit" 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" />
|
||||
@@ -1503,18 +1933,53 @@ public partial class @PlayerInputActions: IInputActionCollection2, IDisposable
|
||||
/// <seealso cref="UnityEngine.InputSystem.InputAction.canceled" />
|
||||
void OnCancel(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "Pause" 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 OnPause(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "Point" 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 OnPoint(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "Click" 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 OnClick(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "ScrollWheel" 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 OnScrollWheel(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "MiddleClick" 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 OnMiddleClick(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "RightClick" 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 OnRightClick(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "TrackedDevicePosition" 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 OnTrackedDevicePosition(InputAction.CallbackContext context);
|
||||
/// <summary>
|
||||
/// Method invoked when associated input action "TrackedDeviceOrientation" 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 OnTrackedDeviceOrientation(InputAction.CallbackContext context);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user