Select Git revision
PopupBehavior.cs
-
Jacktheholdy authored
Fixed a Bug where Facts stay assigned in scroll even when deleted in the world. Now they also are deleted in the scoll. There are still issues with the dynamic scroll assignment however. Removed some unused functions implemented for the invalid assigned fact animations. Added some comments to popupbehavior script
Jacktheholdy authoredFixed a Bug where Facts stay assigned in scroll even when deleted in the world. Now they also are deleted in the scoll. There are still issues with the dynamic scroll assignment however. Removed some unused functions implemented for the invalid assigned fact animations. Added some comments to popupbehavior script
ControlMapping.cs 72.19 KiB
//------------------------------------------------------------------------------
// <auto-generated>
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
// version 1.3.0
// from Assets/Scripts/UI/PlayerControls/ControlMapping.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;
public partial class @ControlMapping : IInputActionCollection2, IDisposable
{
public InputActionAsset asset { get; }
public @ControlMapping()
{
asset = InputActionAsset.FromJson(@"{
""name"": ""ControlMapping"",
""maps"": [
{
""name"": ""Actionmap1"",
""id"": ""55ba2fb5-e26c-477c-9f57-acc20eb9ac09"",
""actions"": [
{
""name"": ""Movement"",
""type"": ""PassThrough"",
""id"": ""f1c2c6f3-2542-45df-8f4e-7660f5fe7215"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""LookCamera"",
""type"": ""PassThrough"",
""id"": ""c189c0be-0f75-45a9-94b3-d0dd52a2af19"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": true
},
{
""name"": ""Fire1 or Mouse left"",
""type"": ""Button"",
""id"": ""25f93509-8bb3-4fe7-9ce3-a1b44d6a0c6c"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Camerazoom"",
""type"": ""Button"",
""id"": ""d6845352-d792-4cfe-9c8d-ab09637d4ab1"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Cancel"",
""type"": ""Button"",
""id"": ""d5aafbfd-31bc-402e-89dc-c21c91212bbc"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""ToolMode"",
""type"": ""Button"",
""id"": ""55269451-4704-48a9-8528-ca0d3b495ab2"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""MathMode"",
""type"": ""Button"",
""id"": ""f79249da-97b2-4a72-b594-aa21e58472a9"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Talking"",
""type"": ""Button"",
""id"": ""b1520e97-2587-4525-8ce4-f2f6cacf9c82"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
}
],
""bindings"": [
{
""name"": ""2D Vector"",
""id"": ""9a56b898-3054-40a9-8d2e-0583e12cf6b3"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Movement"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""ec0e7879-f8bd-4a05-8800-b9072a51cb21"",
""path"": ""<Keyboard>/numpad8"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardMouse;Keyboard"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""32643cd1-2b6b-4906-b490-acdebf557b8b"",
""path"": ""<Keyboard>/numpad5"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardMouse;Keyboard"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""e127598c-a7df-435e-8bef-a3729e07cd84"",
""path"": ""<Keyboard>/numpad4"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardMouse;Keyboard"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""93c98071-3376-40f4-92c1-3abfa49a2d9c"",
""path"": ""<Keyboard>/numpad6"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardMouse;Keyboard"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""2D Vector _2"",
""id"": ""3c9ff928-bcd0-4d9e-b369-67fa808e18c5"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Movement"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""149852c8-e380-4408-a0fb-3ad271a4d960"",
""path"": ""<Keyboard>/w"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardMouse;Keyboard;test;Android;Gamepad"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""585d2784-c676-4972-b4d5-c6e01ebcc1b5"",
""path"": ""<Keyboard>/s"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardMouse;Keyboard;test;Android;Gamepad"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""cb0f3e9a-7486-467a-ad99-c32b33848c58"",
""path"": ""<Keyboard>/a"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardMouse;Keyboard;Gamepad;Android;test"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""a50f6022-a01b-4188-9292-dd6c13a6b65e"",
""path"": ""<Keyboard>/d"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardMouse;Keyboard;Gamepad;Android;test"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""2D Vector"",
""id"": ""4e99003d-6514-4514-a962-82d576a0599c"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Movement"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""c3d3e2e7-843a-497f-b3a3-a32f4986243e"",
""path"": ""<Gamepad>/leftStick/up"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""90983903-8f82-477f-8cdc-a74fd847388f"",
""path"": ""<Gamepad>/leftStick/down"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""e93492be-6b12-435d-820c-926efa9cc98d"",
""path"": ""<Gamepad>/leftStick/left"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""a1196479-b8aa-4f70-a014-36a12152cb7b"",
""path"": ""<Gamepad>/leftStick/right"",
""interactions"": """",
""processors"": """",
""groups"": ""Gamepad;Android;KeyboardMouse;Keyboard;test"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""74b23070-b002-405d-880f-612ed4af5d02"",
""path"": ""<Mouse>/delta"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardMouse"",
""action"": ""LookCamera"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""0d155468-d43f-4cf5-83b5-b4747878be94"",
""path"": ""<Mouse>/leftButton"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Fire1 or Mouse left"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""2872ba6f-d166-41d1-b940-2cc49ef513ee"",
""path"": ""<Touchscreen>/primaryTouch/tap"",
""interactions"": """",
""processors"": """",
""groups"": ""Android;KeyboardMouse;test;Gamepad;Keyboard"",
""action"": ""Fire1 or Mouse left"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a79d2bc0-9552-457e-b6a9-dae57d992831"",
""path"": ""<Keyboard>/#(p)"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardMouse;test;Android;Gamepad;Keyboard"",
""action"": ""Fire1 or Mouse left"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""1D Axis"",
""id"": ""c96cb1e3-eaac-42f2-a01a-622f458b0f5f"",
""path"": ""1DAxis"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Camerazoom"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""negative"",
""id"": ""a57d64de-9c4f-488d-a913-9f8e5aa7978f"",
""path"": ""<Keyboard>/n"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""Camerazoom"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""positive"",
""id"": ""c365ad40-94d3-43b9-bf80-477fdba6e91e"",
""path"": ""<Keyboard>/h"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""Camerazoom"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""488eb74e-6048-4108-9c2d-3d6f45cea232"",
""path"": ""<Mouse>/scroll"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""ScrollWheel"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""4f4b5569-ca43-4388-b5a3-4e0bb8c0aeb6"",
""path"": ""<Mouse>/scroll"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse;KeyboardMouse;test;Gamepad;Keyboard"",
""action"": ""Camerazoom"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""2D Vector"",
""id"": ""decbe076-f3ef-4110-8971-21b6ee602241"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""LookCamera"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""7d56a2a0-5950-4aa1-898e-32855d5f7256"",
""path"": ""<Keyboard>/numpad3"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard"",
""action"": ""LookCamera"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""a24afabd-506f-4388-87eb-33cfbaaaa35d"",
""path"": ""<Keyboard>/numpad1"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard"",
""action"": ""LookCamera"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""69383c90-a869-4729-a411-59df74ef0f39"",
""path"": ""<Keyboard>/numpad7"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard"",
""action"": ""LookCamera"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""37505022-8b8d-4d6a-80b1-55712e986989"",
""path"": ""<Keyboard>/numpad9"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard"",
""action"": ""LookCamera"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""737cc53a-9e90-4fc4-b809-b0a203eaffd6"",
""path"": ""*/{Cancel}"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""Cancel"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""9b7bf0e3-7480-4381-bee8-9c3bcc373bf6"",
""path"": ""<Keyboard>/e"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""ToolMode"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""d4c7df8f-769c-4d15-a143-815f5c86b485"",
""path"": ""<Keyboard>/tab"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""MathMode"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""c0ba9d0f-646d-40cb-bed8-9ac73f005494"",
""path"": ""<Keyboard>/c"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Talking"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
},
{
""name"": ""Actnmp_HC_Bttn"",
""id"": ""c5d06d07-2701-43c0-b3d3-64f20b18c93e"",
""actions"": [
{
""name"": ""Movement"",
""type"": ""Value"",
""id"": ""96b5cec0-5b2c-40af-9187-aa9025e85924"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": true
},
{
""name"": ""LookCamera"",
""type"": ""Value"",
""id"": ""ba69a09b-82ef-41b4-ada5-68abbd4497eb"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": true
}
],
""bindings"": [
{
""name"": ""2D Vector"",
""id"": ""6a4f2c07-cad2-4a2d-9e91-7903b76475bf"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Movement"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""ba0d317c-b756-42f0-b3db-052fc72aa17b"",
""path"": ""<Keyboard>/numpad8"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""6b778def-7a6a-4a72-b2c3-0970c201d2f1"",
""path"": ""<Keyboard>/numpad5"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""8f515e82-ac82-4e37-ab89-1f7cdb8f9ffc"",
""path"": ""<Keyboard>/numpad4"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""2fc809bb-8391-46b2-9044-3acc5410fb8c"",
""path"": ""<Keyboard>/numpad6"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""2D Vector _2"",
""id"": ""139f0316-2182-4790-b325-26fdab97a763"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Movement"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""31fdda8e-7547-42b7-8d76-3519c726a994"",
""path"": ""<Keyboard>/w"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""17673297-b36e-47a5-9759-a21c782fcd46"",
""path"": ""<Keyboard>/s"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""9afd8031-3a04-44d3-9b4b-2f5649ee0a8d"",
""path"": ""<Keyboard>/a"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""a34d795e-b1d2-4a30-acb2-3b66383fca58"",
""path"": ""<Keyboard>/d"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard;Gamepad;Android;test;KeyboardMouse"",
""action"": ""Movement"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""2D Vector"",
""id"": ""7a953121-852c-4112-8ced-236bb1d00cf5"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""LookCamera"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""f84aacf1-8ce8-4377-9611-eadfc42b1093"",
""path"": ""<Keyboard>/numpad3"",
""interactions"": """",
""processors"": """",
""groups"": ""Android"",
""action"": ""LookCamera"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""d0c62b39-0710-4d47-90e7-53d69f95e3d7"",
""path"": ""<Keyboard>/numpad1"",
""interactions"": """",
""processors"": """",
""groups"": ""Android"",
""action"": ""LookCamera"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""714dba28-3d94-494c-9e71-c087283bb001"",
""path"": ""<Keyboard>/numpad7"",
""interactions"": """",
""processors"": """",
""groups"": ""Android"",
""action"": ""LookCamera"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""04f70bd9-96b8-4988-99e9-b6fe025c0595"",
""path"": ""<Keyboard>/numpad9"",
""interactions"": """",
""processors"": """",
""groups"": ""Android"",
""action"": ""LookCamera"",
""isComposite"": false,
""isPartOfComposite"": true
}
]
},
{
""name"": ""UI"",
""id"": ""0908507c-1fed-4753-ac3f-1980e791f58a"",
""actions"": [
{
""name"": ""Navigate"",
""type"": ""Value"",
""id"": ""4b630cad-55a6-4f6c-bd0d-15057bbc7647"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": true
},
{
""name"": ""Submit"",
""type"": ""Button"",
""id"": ""5976835c-e3ae-44f3-9715-546e6263f671"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Cancel"",
""type"": ""Button"",
""id"": ""e5255dc5-07f6-47b3-ba9f-2e2efb607780"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Point"",
""type"": ""PassThrough"",
""id"": ""d71f7f6e-532d-49cf-bf0f-5f04773eeeee"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""Click"",
""type"": ""PassThrough"",
""id"": ""cab8ec17-6f02-42fe-9109-be000f8d6e43"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""ScrollWheel"",
""type"": ""PassThrough"",
""id"": ""6176d09c-a247-4fba-b3bc-b4dd47a50cdc"",
""expectedControlType"": ""Vector2"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""MiddleClick"",
""type"": ""PassThrough"",
""id"": ""13fcdbc5-4169-4a8d-bcf1-3f0fa7d8d9a4"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""RightClick"",
""type"": ""PassThrough"",
""id"": ""212e4290-34e2-4af5-8592-019975ac57a3"",
""expectedControlType"": """",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""TrackedDevicePosition"",
""type"": ""PassThrough"",
""id"": ""a92a45a8-19dc-4e44-9675-ae257f384fb4"",
""expectedControlType"": ""Vector3"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
},
{
""name"": ""TrackedDeviceOrientation"",
""type"": ""PassThrough"",
""id"": ""9fd2707b-e83e-4315-8730-e43d10900229"",
""expectedControlType"": ""Quaternion"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
}
],
""bindings"": [
{
""name"": ""Gamepad"",
""id"": ""987f7c29-1738-4dd6-b470-0cae0e1e63a3"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Navigate"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""4b434b9f-c206-4b7e-86c2-5f00ae7cb419"",
""path"": ""<Gamepad>/leftStick/up"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""up"",
""id"": ""b9c5f11f-a4c5-43d0-8942-23623b956087"",
""path"": ""<Gamepad>/rightStick/up"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""d140c698-d918-4519-9a5e-1af3953d64dd"",
""path"": ""<Gamepad>/leftStick/down"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""4a14f79a-326d-41fe-be0a-8b180cea6700"",
""path"": ""<Gamepad>/rightStick/down"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""0abf00ca-8e70-494a-916d-b69485e1e4d6"",
""path"": ""<Gamepad>/leftStick/left"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""330ce742-7d29-46b0-bf16-bb4406390cbf"",
""path"": ""<Gamepad>/rightStick/left"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""7fec9859-b8b4-4700-a9a8-6c227f6762e7"",
""path"": ""<Gamepad>/leftStick/right"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""fcf67228-6357-4042-b536-86a5162f52e4"",
""path"": ""<Gamepad>/rightStick/right"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""10b1e360-dd36-488f-861f-acb20365afe7"",
""path"": ""<Gamepad>/dpad"",
""interactions"": """",
""processors"": """",
""groups"": "";Gamepad"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": ""Joystick"",
""id"": ""4f49b29c-c31c-4911-a5a2-812b1788bf88"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Navigate"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""f82a072a-b083-4c20-b263-791ff735f706"",
""path"": ""<Joystick>/stick/up"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""d2065c20-0fcd-4618-9cab-56159db422ca"",
""path"": ""<Joystick>/stick/down"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""0641e2e2-0215-4012-b462-f58029bb04b4"",
""path"": ""<Joystick>/stick/left"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""7327a490-9600-4445-8402-e54d27f95b2b"",
""path"": ""<Joystick>/stick/right"",
""interactions"": """",
""processors"": """",
""groups"": ""Joystick"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""Keyboard"",
""id"": ""8b168510-a6f2-4630-b3e8-9a3c23b7645f"",
""path"": ""2DVector"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Navigate"",
""isComposite"": true,
""isPartOfComposite"": false
},
{
""name"": ""up"",
""id"": ""7ab45d64-8ef4-4fc1-aabc-31eada81151d"",
""path"": ""<Keyboard>/w"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""up"",
""id"": ""c39bb74d-1046-49f4-b00b-c56c6092f575"",
""path"": ""<Keyboard>/upArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""a7c3732a-730b-4c11-b3b7-cb088adc255a"",
""path"": ""<Keyboard>/s"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""down"",
""id"": ""1c697212-3396-4415-bb8d-2f256ed5032a"",
""path"": ""<Keyboard>/downArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""72d59be8-3c56-4100-9477-30bba602a4c5"",
""path"": ""<Keyboard>/a"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""left"",
""id"": ""391cb2b1-8433-4912-bdf8-f0273557d0ea"",
""path"": ""<Keyboard>/leftArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""2b7e3a7a-ef3f-4022-ade7-48dbafd452b2"",
""path"": ""<Keyboard>/d"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": ""right"",
""id"": ""f2475f3c-1f78-44f7-8259-88ea6d907abd"",
""path"": ""<Keyboard>/rightArrow"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Navigate"",
""isComposite"": false,
""isPartOfComposite"": true
},
{
""name"": """",
""id"": ""9472c797-1bd5-4ab5-a7ec-09de2519ee9d"",
""path"": ""*/{Submit}"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Submit"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""8eca5bdd-9a7e-4905-ac98-203382f545b3"",
""path"": ""*/{Cancel}"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Cancel"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""763f053d-121f-4b66-a292-623c6f96be07"",
""path"": ""<Mouse>/position"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Point"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""28f04ee6-1018-4db2-9aec-047c0f0a4107"",
""path"": ""<Pen>/position"",
""interactions"": """",
""processors"": """",
""groups"": ""Keyboard&Mouse"",
""action"": ""Point"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""bbd1de00-830e-411e-8790-f675ed1a32b6"",
""path"": ""<Touchscreen>/touch*/position"",
""interactions"": """",
""processors"": """",
""groups"": ""Touch;Android;test;KeyboardMouse;Gamepad;Keyboard"",
""action"": ""Point"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""08f766de-9e6e-45d9-804c-89e56713d237"",
""path"": ""<Mouse>/leftButton"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Click"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""e3f35ba4-270c-43a3-92e3-48c9a6d1f517"",
""path"": ""<Pen>/tip"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""Click"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""a736d3a8-d449-49e3-ac7e-3bb3d239b205"",
""path"": ""<Touchscreen>/touch*/press"",
""interactions"": """",
""processors"": """",
""groups"": ""Touch;KeyboardMouse;test;Android;Gamepad;Keyboard"",
""action"": ""Click"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""b937131a-6b14-4eca-8bb2-cd585facc337"",
""path"": ""<XRController>/trigger"",
""interactions"": """",
""processors"": """",
""groups"": ""XR"",
""action"": ""Click"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""0c86b4a7-4959-4322-88e3-62c9b183f20d"",
""path"": ""<Keyboard>/#(g)"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Click"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""b50a0781-20a3-4b8b-b602-1ad00974d548"",
""path"": ""<Mouse>/scroll"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""ScrollWheel"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""d4f85174-6af8-4eb1-a676-739317060095"",
""path"": ""<Mouse>/middleButton"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""MiddleClick"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""6d16357c-a3bc-46ca-9eb8-b282ac4a113b"",
""path"": ""<Mouse>/rightButton"",
""interactions"": """",
""processors"": """",
""groups"": "";Keyboard&Mouse"",
""action"": ""RightClick"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""11d1b599-8c90-49ec-93dc-448a7d0ac745"",
""path"": ""<XRController>/devicePosition"",
""interactions"": """",
""processors"": """",
""groups"": ""XR"",
""action"": ""TrackedDevicePosition"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""9a651327-6a6e-4881-8804-10625d561edf"",
""path"": ""<XRController>/deviceRotation"",
""interactions"": """",
""processors"": """",
""groups"": ""XR"",
""action"": ""TrackedDeviceOrientation"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
}
],
""controlSchemes"": [
{
""name"": ""KeyboardMouse"",
""bindingGroup"": ""KeyboardMouse"",
""devices"": [
{
""devicePath"": ""<Keyboard>"",
""isOptional"": false,
""isOR"": false
},
{
""devicePath"": ""<Mouse>"",
""isOptional"": true,
""isOR"": false
}
]
},
{
""name"": ""test"",
""bindingGroup"": ""test"",
""devices"": []
},
{
""name"": ""Android"",
""bindingGroup"": ""Android"",
""devices"": [
{
""devicePath"": ""<Touchscreen>"",
""isOptional"": true,
""isOR"": false
}
]
},
{
""name"": ""Gamepad"",
""bindingGroup"": ""Gamepad"",
""devices"": [
{
""devicePath"": ""<Gamepad>"",
""isOptional"": false,
""isOR"": false
}
]
},
{
""name"": ""Keyboard"",
""bindingGroup"": ""Keyboard"",
""devices"": [
{
""devicePath"": ""<Keyboard>"",
""isOptional"": false,
""isOR"": false
}
]
}
]
}");
// Actionmap1
m_Actionmap1 = asset.FindActionMap("Actionmap1", throwIfNotFound: true);
m_Actionmap1_Movement = m_Actionmap1.FindAction("Movement", throwIfNotFound: true);
m_Actionmap1_LookCamera = m_Actionmap1.FindAction("LookCamera", throwIfNotFound: true);
m_Actionmap1_Fire1orMouseleft = m_Actionmap1.FindAction("Fire1 or Mouse left", throwIfNotFound: true);
m_Actionmap1_Camerazoom = m_Actionmap1.FindAction("Camerazoom", throwIfNotFound: true);
m_Actionmap1_Cancel = m_Actionmap1.FindAction("Cancel", throwIfNotFound: true);
m_Actionmap1_ToolMode = m_Actionmap1.FindAction("ToolMode", throwIfNotFound: true);
m_Actionmap1_MathMode = m_Actionmap1.FindAction("MathMode", throwIfNotFound: true);
m_Actionmap1_Talking = m_Actionmap1.FindAction("Talking", throwIfNotFound: true);
// Actnmp_HC_Bttn
m_Actnmp_HC_Bttn = asset.FindActionMap("Actnmp_HC_Bttn", throwIfNotFound: true);
m_Actnmp_HC_Bttn_Movement = m_Actnmp_HC_Bttn.FindAction("Movement", throwIfNotFound: true);
m_Actnmp_HC_Bttn_LookCamera = m_Actnmp_HC_Bttn.FindAction("LookCamera", throwIfNotFound: true);
// UI
m_UI = asset.FindActionMap("UI", throwIfNotFound: true);
m_UI_Navigate = m_UI.FindAction("Navigate", throwIfNotFound: true);
m_UI_Submit = m_UI.FindAction("Submit", throwIfNotFound: true);
m_UI_Cancel = m_UI.FindAction("Cancel", 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);
}
public void Dispose()
{
UnityEngine.Object.Destroy(asset);
}
public InputBinding? bindingMask
{
get => asset.bindingMask;
set => asset.bindingMask = value;
}
public ReadOnlyArray<InputDevice>? devices
{
get => asset.devices;
set => asset.devices = value;
}
public ReadOnlyArray<InputControlScheme> controlSchemes => asset.controlSchemes;
public bool Contains(InputAction action)
{
return asset.Contains(action);
}
public IEnumerator<InputAction> GetEnumerator()
{
return asset.GetEnumerator();
}
IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
public void Enable()
{
asset.Enable();
}
public void Disable()
{
asset.Disable();
}
public IEnumerable<InputBinding> bindings => asset.bindings;
public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false)
{
return asset.FindAction(actionNameOrId, throwIfNotFound);
}
public int FindBinding(InputBinding bindingMask, out InputAction action)
{
return asset.FindBinding(bindingMask, out action);
}
// Actionmap1
private readonly InputActionMap m_Actionmap1;
private IActionmap1Actions m_Actionmap1ActionsCallbackInterface;
private readonly InputAction m_Actionmap1_Movement;
private readonly InputAction m_Actionmap1_LookCamera;
private readonly InputAction m_Actionmap1_Fire1orMouseleft;
private readonly InputAction m_Actionmap1_Camerazoom;
private readonly InputAction m_Actionmap1_Cancel;
private readonly InputAction m_Actionmap1_ToolMode;
private readonly InputAction m_Actionmap1_MathMode;
private readonly InputAction m_Actionmap1_Talking;
public struct Actionmap1Actions
{
private @ControlMapping m_Wrapper;
public Actionmap1Actions(@ControlMapping wrapper) { m_Wrapper = wrapper; }
public InputAction @Movement => m_Wrapper.m_Actionmap1_Movement;
public InputAction @LookCamera => m_Wrapper.m_Actionmap1_LookCamera;
public InputAction @Fire1orMouseleft => m_Wrapper.m_Actionmap1_Fire1orMouseleft;
public InputAction @Camerazoom => m_Wrapper.m_Actionmap1_Camerazoom;
public InputAction @Cancel => m_Wrapper.m_Actionmap1_Cancel;
public InputAction @ToolMode => m_Wrapper.m_Actionmap1_ToolMode;
public InputAction @MathMode => m_Wrapper.m_Actionmap1_MathMode;
public InputAction @Talking => m_Wrapper.m_Actionmap1_Talking;
public InputActionMap Get() { return m_Wrapper.m_Actionmap1; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(Actionmap1Actions set) { return set.Get(); }
public void SetCallbacks(IActionmap1Actions instance)
{
if (m_Wrapper.m_Actionmap1ActionsCallbackInterface != null)
{
@Movement.started -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnMovement;
@Movement.performed -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnMovement;
@Movement.canceled -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnMovement;
@LookCamera.started -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnLookCamera;
@LookCamera.performed -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnLookCamera;
@LookCamera.canceled -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnLookCamera;
@Fire1orMouseleft.started -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnFire1orMouseleft;
@Fire1orMouseleft.performed -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnFire1orMouseleft;
@Fire1orMouseleft.canceled -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnFire1orMouseleft;
@Camerazoom.started -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnCamerazoom;
@Camerazoom.performed -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnCamerazoom;
@Camerazoom.canceled -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnCamerazoom;
@Cancel.started -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnCancel;
@Cancel.performed -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnCancel;
@Cancel.canceled -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnCancel;
@ToolMode.started -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnToolMode;
@ToolMode.performed -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnToolMode;
@ToolMode.canceled -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnToolMode;
@MathMode.started -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnMathMode;
@MathMode.performed -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnMathMode;
@MathMode.canceled -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnMathMode;
@Talking.started -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnTalking;
@Talking.performed -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnTalking;
@Talking.canceled -= m_Wrapper.m_Actionmap1ActionsCallbackInterface.OnTalking;
}
m_Wrapper.m_Actionmap1ActionsCallbackInterface = instance;
if (instance != null)
{
@Movement.started += instance.OnMovement;
@Movement.performed += instance.OnMovement;
@Movement.canceled += instance.OnMovement;
@LookCamera.started += instance.OnLookCamera;
@LookCamera.performed += instance.OnLookCamera;
@LookCamera.canceled += instance.OnLookCamera;
@Fire1orMouseleft.started += instance.OnFire1orMouseleft;
@Fire1orMouseleft.performed += instance.OnFire1orMouseleft;
@Fire1orMouseleft.canceled += instance.OnFire1orMouseleft;
@Camerazoom.started += instance.OnCamerazoom;
@Camerazoom.performed += instance.OnCamerazoom;
@Camerazoom.canceled += instance.OnCamerazoom;
@Cancel.started += instance.OnCancel;
@Cancel.performed += instance.OnCancel;
@Cancel.canceled += instance.OnCancel;
@ToolMode.started += instance.OnToolMode;
@ToolMode.performed += instance.OnToolMode;
@ToolMode.canceled += instance.OnToolMode;
@MathMode.started += instance.OnMathMode;
@MathMode.performed += instance.OnMathMode;
@MathMode.canceled += instance.OnMathMode;
@Talking.started += instance.OnTalking;
@Talking.performed += instance.OnTalking;
@Talking.canceled += instance.OnTalking;
}
}
}
public Actionmap1Actions @Actionmap1 => new Actionmap1Actions(this);
// Actnmp_HC_Bttn
private readonly InputActionMap m_Actnmp_HC_Bttn;
private IActnmp_HC_BttnActions m_Actnmp_HC_BttnActionsCallbackInterface;
private readonly InputAction m_Actnmp_HC_Bttn_Movement;
private readonly InputAction m_Actnmp_HC_Bttn_LookCamera;
public struct Actnmp_HC_BttnActions
{
private @ControlMapping m_Wrapper;
public Actnmp_HC_BttnActions(@ControlMapping wrapper) { m_Wrapper = wrapper; }
public InputAction @Movement => m_Wrapper.m_Actnmp_HC_Bttn_Movement;
public InputAction @LookCamera => m_Wrapper.m_Actnmp_HC_Bttn_LookCamera;
public InputActionMap Get() { return m_Wrapper.m_Actnmp_HC_Bttn; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(Actnmp_HC_BttnActions set) { return set.Get(); }
public void SetCallbacks(IActnmp_HC_BttnActions instance)
{
if (m_Wrapper.m_Actnmp_HC_BttnActionsCallbackInterface != null)
{
@Movement.started -= m_Wrapper.m_Actnmp_HC_BttnActionsCallbackInterface.OnMovement;
@Movement.performed -= m_Wrapper.m_Actnmp_HC_BttnActionsCallbackInterface.OnMovement;
@Movement.canceled -= m_Wrapper.m_Actnmp_HC_BttnActionsCallbackInterface.OnMovement;
@LookCamera.started -= m_Wrapper.m_Actnmp_HC_BttnActionsCallbackInterface.OnLookCamera;
@LookCamera.performed -= m_Wrapper.m_Actnmp_HC_BttnActionsCallbackInterface.OnLookCamera;
@LookCamera.canceled -= m_Wrapper.m_Actnmp_HC_BttnActionsCallbackInterface.OnLookCamera;
}
m_Wrapper.m_Actnmp_HC_BttnActionsCallbackInterface = instance;
if (instance != null)
{
@Movement.started += instance.OnMovement;
@Movement.performed += instance.OnMovement;
@Movement.canceled += instance.OnMovement;
@LookCamera.started += instance.OnLookCamera;
@LookCamera.performed += instance.OnLookCamera;
@LookCamera.canceled += instance.OnLookCamera;
}
}
}
public Actnmp_HC_BttnActions @Actnmp_HC_Bttn => new Actnmp_HC_BttnActions(this);
// UI
private readonly InputActionMap m_UI;
private IUIActions m_UIActionsCallbackInterface;
private readonly InputAction m_UI_Navigate;
private readonly InputAction m_UI_Submit;
private readonly InputAction m_UI_Cancel;
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;
public struct UIActions
{
private @ControlMapping m_Wrapper;
public UIActions(@ControlMapping wrapper) { m_Wrapper = wrapper; }
public InputAction @Navigate => m_Wrapper.m_UI_Navigate;
public InputAction @Submit => m_Wrapper.m_UI_Submit;
public InputAction @Cancel => m_Wrapper.m_UI_Cancel;
public InputAction @Point => m_Wrapper.m_UI_Point;
public InputAction @Click => m_Wrapper.m_UI_Click;
public InputAction @ScrollWheel => m_Wrapper.m_UI_ScrollWheel;
public InputAction @MiddleClick => m_Wrapper.m_UI_MiddleClick;
public InputAction @RightClick => m_Wrapper.m_UI_RightClick;
public InputAction @TrackedDevicePosition => m_Wrapper.m_UI_TrackedDevicePosition;
public InputAction @TrackedDeviceOrientation => m_Wrapper.m_UI_TrackedDeviceOrientation;
public InputActionMap Get() { return m_Wrapper.m_UI; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(UIActions set) { return set.Get(); }
public void SetCallbacks(IUIActions instance)
{
if (m_Wrapper.m_UIActionsCallbackInterface != null)
{
@Navigate.started -= m_Wrapper.m_UIActionsCallbackInterface.OnNavigate;
@Navigate.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnNavigate;
@Navigate.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnNavigate;
@Submit.started -= m_Wrapper.m_UIActionsCallbackInterface.OnSubmit;
@Submit.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnSubmit;
@Submit.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnSubmit;
@Cancel.started -= m_Wrapper.m_UIActionsCallbackInterface.OnCancel;
@Cancel.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnCancel;
@Cancel.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnCancel;
@Point.started -= m_Wrapper.m_UIActionsCallbackInterface.OnPoint;
@Point.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnPoint;
@Point.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnPoint;
@Click.started -= m_Wrapper.m_UIActionsCallbackInterface.OnClick;
@Click.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnClick;
@Click.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnClick;
@ScrollWheel.started -= m_Wrapper.m_UIActionsCallbackInterface.OnScrollWheel;
@ScrollWheel.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnScrollWheel;
@ScrollWheel.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnScrollWheel;
@MiddleClick.started -= m_Wrapper.m_UIActionsCallbackInterface.OnMiddleClick;
@MiddleClick.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnMiddleClick;
@MiddleClick.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnMiddleClick;
@RightClick.started -= m_Wrapper.m_UIActionsCallbackInterface.OnRightClick;
@RightClick.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnRightClick;
@RightClick.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnRightClick;
@TrackedDevicePosition.started -= m_Wrapper.m_UIActionsCallbackInterface.OnTrackedDevicePosition;
@TrackedDevicePosition.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnTrackedDevicePosition;
@TrackedDevicePosition.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnTrackedDevicePosition;
@TrackedDeviceOrientation.started -= m_Wrapper.m_UIActionsCallbackInterface.OnTrackedDeviceOrientation;
@TrackedDeviceOrientation.performed -= m_Wrapper.m_UIActionsCallbackInterface.OnTrackedDeviceOrientation;
@TrackedDeviceOrientation.canceled -= m_Wrapper.m_UIActionsCallbackInterface.OnTrackedDeviceOrientation;
}
m_Wrapper.m_UIActionsCallbackInterface = instance;
if (instance != null)
{
@Navigate.started += instance.OnNavigate;
@Navigate.performed += instance.OnNavigate;
@Navigate.canceled += instance.OnNavigate;
@Submit.started += instance.OnSubmit;
@Submit.performed += instance.OnSubmit;
@Submit.canceled += instance.OnSubmit;
@Cancel.started += instance.OnCancel;
@Cancel.performed += instance.OnCancel;
@Cancel.canceled += instance.OnCancel;
@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;
}
}
}
public UIActions @UI => new UIActions(this);
private int m_KeyboardMouseSchemeIndex = -1;
public InputControlScheme KeyboardMouseScheme
{
get
{
if (m_KeyboardMouseSchemeIndex == -1) m_KeyboardMouseSchemeIndex = asset.FindControlSchemeIndex("KeyboardMouse");
return asset.controlSchemes[m_KeyboardMouseSchemeIndex];
}
}
private int m_testSchemeIndex = -1;
public InputControlScheme testScheme
{
get
{
if (m_testSchemeIndex == -1) m_testSchemeIndex = asset.FindControlSchemeIndex("test");
return asset.controlSchemes[m_testSchemeIndex];
}
}
private int m_AndroidSchemeIndex = -1;
public InputControlScheme AndroidScheme
{
get
{
if (m_AndroidSchemeIndex == -1) m_AndroidSchemeIndex = asset.FindControlSchemeIndex("Android");
return asset.controlSchemes[m_AndroidSchemeIndex];
}
}
private int m_GamepadSchemeIndex = -1;
public InputControlScheme GamepadScheme
{
get
{
if (m_GamepadSchemeIndex == -1) m_GamepadSchemeIndex = asset.FindControlSchemeIndex("Gamepad");
return asset.controlSchemes[m_GamepadSchemeIndex];
}
}
private int m_KeyboardSchemeIndex = -1;
public InputControlScheme KeyboardScheme
{
get
{
if (m_KeyboardSchemeIndex == -1) m_KeyboardSchemeIndex = asset.FindControlSchemeIndex("Keyboard");
return asset.controlSchemes[m_KeyboardSchemeIndex];
}
}
public interface IActionmap1Actions
{
void OnMovement(InputAction.CallbackContext context);
void OnLookCamera(InputAction.CallbackContext context);
void OnFire1orMouseleft(InputAction.CallbackContext context);
void OnCamerazoom(InputAction.CallbackContext context);
void OnCancel(InputAction.CallbackContext context);
void OnToolMode(InputAction.CallbackContext context);
void OnMathMode(InputAction.CallbackContext context);
void OnTalking(InputAction.CallbackContext context);
}
public interface IActnmp_HC_BttnActions
{
void OnMovement(InputAction.CallbackContext context);
void OnLookCamera(InputAction.CallbackContext context);
}
public interface IUIActions
{
void OnNavigate(InputAction.CallbackContext context);
void OnSubmit(InputAction.CallbackContext context);
void OnCancel(InputAction.CallbackContext context);
void OnPoint(InputAction.CallbackContext context);
void OnClick(InputAction.CallbackContext context);
void OnScrollWheel(InputAction.CallbackContext context);
void OnMiddleClick(InputAction.CallbackContext context);
void OnRightClick(InputAction.CallbackContext context);
void OnTrackedDevicePosition(InputAction.CallbackContext context);
void OnTrackedDeviceOrientation(InputAction.CallbackContext context);
}
}