2025-03-16 21:57:56 +08:00
//------------------------------------------------------------------------------
// <auto-generated>
// This code was auto-generated by com.unity.inputsystem:InputActionCodeGenerator
// version 1.11.2
// from Assets/Settings/InputSystem/PacManInput.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 @PacManInput : IInputActionCollection2 , IDisposable
{
public InputActionAsset asset { get ; }
public @PacManInput ( )
{
asset = InputActionAsset . FromJson ( @ "{
"" name "" : "" PacManInput "" ,
"" maps "" : [
{
"" name "" : "" PacManInputSystem "" ,
"" id "" : "" ce6a5dc4 - 352f - 47 a9 - 970 a - 864 b07d6cd8e "" ,
"" actions "" : [
{
"" name "" : "" Move "" ,
"" type "" : "" Value "" ,
"" id "" : "" cbcba517 - ffbd - 4477 - bf57 - 8 b3e03d144e6 "" ,
"" expectedControlType "" : "" Vector2 "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : true
} ,
{
"" name "" : "" Look "" ,
"" type "" : "" Value "" ,
"" id "" : "" a0504959 - 7 a26 - 4026 - 954d - 3 a2fd9610904 "" ,
"" expectedControlType "" : "" Vector2 "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : true
} ,
{
"" name "" : "" Fire "" ,
"" type "" : "" Button "" ,
"" id "" : "" eac11804 - 683d - 44 c1 - 9 c73 - 3 aa9efa05d32 "" ,
"" expectedControlType "" : "" Button "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : false
2025-03-17 21:56:02 +08:00
} ,
{
"" name "" : "" Menu "" ,
"" type "" : "" Button "" ,
"" id "" : "" 8 b1a9792 - 70 a1 - 4 bc2 - babb - 39 bf651316cd "" ,
"" expectedControlType "" : "" "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : false
2025-03-16 21:57:56 +08:00
}
] ,
"" bindings "" : [
{
"" name "" : "" "" ,
"" id "" : "" 978 bfe49 - cc26 - 4 a3d - ab7b - 7d 7 a29327403 "" ,
"" path "" : "" < Gamepad > / leftStick "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Move "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" WASD "" ,
"" id "" : "" 00 ca640b - d935 - 4593 - 8157 - c05846ea39b3 "" ,
"" path "" : "" Dpad "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" "" ,
"" action "" : "" Move "" ,
"" isComposite "" : true ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" up "" ,
"" id "" : "" e2062cb9 - 1 b15 - 46 a2 - 838 c - 2f 8d 72 a0bdd9 "" ,
"" path "" : "" < Keyboard > / w "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" Move "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" up "" ,
"" id "" : "" 8180e8 bd - 4097 - 4f 4 e - ab88 - 4523101 a6ce9 "" ,
"" path "" : "" < Keyboard > / upArrow "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" Move "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" down "" ,
"" id "" : "" 320 bffee - a40b - 4347 - ac70 - c210eb8bc73a "" ,
"" path "" : "" < Keyboard > / s "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" Move "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" down "" ,
"" id "" : "" 1 c5327b5 - f71c - 4f 60 - 99 c7 - 4e737386f 1d 1 "" ,
"" path "" : "" < Keyboard > / downArrow "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" Move "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" left "" ,
"" id "" : "" d2581a9b - 1d 11 - 4566 - b27d - b92aff5fabbc "" ,
"" path "" : "" < Keyboard > / a "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" Move "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" left "" ,
"" id "" : "" 2e46982 e - 44 cc - 431 b - 9f 0 b - c11910bf467a "" ,
"" path "" : "" < Keyboard > / leftArrow "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" Move "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" right "" ,
"" id "" : "" fcfe95b8 - 67 b9 - 4526 - 84 b5 - 5d 0 bc98d6400 "" ,
"" path "" : "" < Keyboard > / d "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" Move "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" right "" ,
"" id "" : "" 77 bff152 - 3580 - 4 b21 - b6de - dcd0c7e41164 "" ,
"" path "" : "" < Keyboard > / rightArrow "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" Move "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" "" ,
"" id "" : "" 1635d 3f e - 58 b6 - 4 ba9 - a4e2 - f4b964f6b5c8 "" ,
"" path "" : "" < XRController > / { Primary2DAxis } "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" XR "" ,
"" action "" : "" Move "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 3 ea4d645 - 4504 - 4529 - b061 - ab81934c3752 "" ,
"" path "" : "" < Joystick > / stick "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Joystick "" ,
"" action "" : "" Move "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" c1f7a91b - d0fd - 4 a62 - 997e-7f b9b69bf235 "" ,
"" path "" : "" < Gamepad > / rightStick "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Look "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 8 c8e490b - c610 - 4785 - 884f - f04217b23ca4 "" ,
"" path "" : "" < Pointer > / delta "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse ; Touch "" ,
"" action "" : "" Look "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 3e5f 5442 - 8668 - 4 b27 - a940 - df99bad7e831 "" ,
"" path "" : "" < Joystick > / { Hatswitch } "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Joystick "" ,
"" action "" : "" Look "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 143 bb1cd - cc10 - 4 eca - a2f0 - a3664166fe91 "" ,
"" path "" : "" < Gamepad > / rightTrigger "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Fire "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 05f 6913d - c316 - 48 b2 - a6bb - e225f14c7960 "" ,
"" path "" : "" < Mouse > / leftButton "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" Fire "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 886e731 e - 7071 - 4 ae4 - 95 c0 - e61739dad6fd "" ,
"" path "" : "" < Touchscreen > / primaryTouch / tap "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Touch "" ,
"" action "" : "" Fire "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" ee3d0cd2 - 254e-47 a7 - a8cb - bc94d9658c54 "" ,
"" path "" : "" < Joystick > / trigger "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Joystick "" ,
"" action "" : "" Fire "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 8255d 333 - 5683 - 4943 - a58a - ccb207ff1dce "" ,
"" path "" : "" < XRController > / { PrimaryAction } "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" XR "" ,
"" action "" : "" Fire "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
2025-03-17 21:56:02 +08:00
} ,
{
"" name "" : "" "" ,
"" id "" : "" 3158471f - 2805 - 4774 - a030 - 5 b88f9551c73 "" ,
"" path "" : "" < Keyboard > / escape "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" "" ,
"" action "" : "" Menu "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
2025-03-16 21:57:56 +08:00
}
]
} ,
{
"" name "" : "" UI "" ,
"" id "" : "" 528 a27a0 - 13 c7 - 4297 - 9f 0f - a9189ef0ff44 "" ,
"" actions "" : [
{
"" name "" : "" Navigate "" ,
"" type "" : "" PassThrough "" ,
"" id "" : "" 88 cb5091 - 57 a3 - 47 c9 - 9e7d - 80 cb6a9993c6 "" ,
"" expectedControlType "" : "" Vector2 "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : false
} ,
{
"" name "" : "" Submit "" ,
"" type "" : "" Button "" ,
"" id "" : "" 785022f 5 - 148f - 475 a - a07b - 54e65 cd91629 "" ,
"" expectedControlType "" : "" Button "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : false
} ,
{
"" name "" : "" Cancel "" ,
"" type "" : "" Button "" ,
"" id "" : "" 03 a1ac08 - 0f 37 - 4e36 - b9b9 - 5279e1d f2aed "" ,
"" expectedControlType "" : "" Button "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : false
} ,
{
"" name "" : "" Point "" ,
"" type "" : "" PassThrough "" ,
"" id "" : "" 73f 9 c19f - dfac - 452f - a5ca - 9408 cabcdba6 "" ,
"" expectedControlType "" : "" Vector2 "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : true
} ,
{
"" name "" : "" Click "" ,
"" type "" : "" PassThrough "" ,
"" id "" : "" 39d 767 a7 - 58f 0 - 4635 - 8 ba1 - 4 a6632d5aaee "" ,
"" expectedControlType "" : "" Button "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : true
} ,
{
"" name "" : "" ScrollWheel "" ,
"" type "" : "" PassThrough "" ,
"" id "" : "" fa3bf3d9 - 6 c49 - 4 a50 - a0c7 - 135d c1f0e4bc "" ,
"" expectedControlType "" : "" Vector2 "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : false
} ,
{
"" name "" : "" MiddleClick "" ,
"" type "" : "" PassThrough "" ,
"" id "" : "" 88 c1b15b - 032 b - 4 c45 - ba5e - e63173d2eab7 "" ,
"" expectedControlType "" : "" Button "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : false
} ,
{
"" name "" : "" RightClick "" ,
"" type "" : "" PassThrough "" ,
"" id "" : "" 8161f 45 b - 35 b2 - 4 a24 - ac43 - 9d 709 ec0ccb9 "" ,
"" expectedControlType "" : "" Button "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : false
} ,
{
"" name "" : "" TrackedDevicePosition "" ,
"" type "" : "" PassThrough "" ,
"" id "" : "" bed2b49e - 6e0d - 40 ec - bd23 - 4722d 929 aa18 "" ,
"" expectedControlType "" : "" Vector3 "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : false
} ,
{
"" name "" : "" TrackedDeviceOrientation "" ,
"" type "" : "" PassThrough "" ,
"" id "" : "" 817 a2db6 - 07 c5 - 4f 74 - 850 a - 129d 9936144f "" ,
"" expectedControlType "" : "" Quaternion "" ,
"" processors "" : "" "" ,
"" interactions "" : "" "" ,
"" initialStateCheck "" : false
}
] ,
"" bindings "" : [
{
"" name "" : "" Gamepad "" ,
"" id "" : "" 809f 371f - c5e2 - 4e7 a - 83 a1 - d867598f40dd "" ,
"" path "" : "" 2D Vector "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : true ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" up "" ,
"" id "" : "" 14 a5d6e8 - 4 aaf - 4119 - a9ef - 34 b8c2c548bf "" ,
"" path "" : "" < Gamepad > / leftStick / up "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" up "" ,
"" id "" : "" 9144 cbe6 - 05e1 - 4687 - a6d7 - 24f 99d 23d d81 "" ,
"" path "" : "" < Gamepad > / rightStick / up "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" down "" ,
"" id "" : "" 2d b08d65 - c5fb - 421 b - 983f - c71163608d67 "" ,
"" path "" : "" < Gamepad > / leftStick / down "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" down "" ,
"" id "" : "" 58748904 - 2 ea9 - 4 a80 - 8579 - b500e6a76df8 "" ,
"" path "" : "" < Gamepad > / rightStick / down "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" left "" ,
"" id "" : "" 8 ba04515 - 75 aa - 45d e - 966d - 393d 9 bbd1c14 "" ,
"" path "" : "" < Gamepad > / leftStick / left "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" left "" ,
"" id "" : "" 712e721 c - bdfb - 4 b23 - a86c - a0d9fcfea921 "" ,
"" path "" : "" < Gamepad > / rightStick / left "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" right "" ,
"" id "" : "" fcd248ae - a788 - 4676 - a12e - f4d81205600b "" ,
"" path "" : "" < Gamepad > / leftStick / right "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" right "" ,
"" id "" : "" 1f 04d 9 bc - c50b - 41 a1 - bfcc - afb75475ec20 "" ,
"" path "" : "" < Gamepad > / rightStick / right "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" "" ,
"" id "" : "" fb8277d4 - c5cd - 4663 - 9d c7 - ee3f0b506d90 "" ,
"" path "" : "" < Gamepad > / dpad "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Gamepad "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" Joystick "" ,
"" id "" : "" e25d9774 - 381 c - 4 a61 - b47c - 7 b6b299ad9f9 "" ,
"" path "" : "" 2D Vector "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : true ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" up "" ,
"" id "" : "" 3d b53b26 - 6601 - 41 be - 9887 - 63 ac74e79d19 "" ,
"" path "" : "" < Joystick > / stick / up "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Joystick "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" down "" ,
"" id "" : "" 0 cb3e13e - 3d 90 - 4178 - 8 ae6 - d9c5501d653f "" ,
"" path "" : "" < Joystick > / stick / down "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Joystick "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" left "" ,
"" id "" : "" 0392d 399 - f6dd - 4 c82 - 8062 - c1e9c0d34835 "" ,
"" path "" : "" < Joystick > / stick / left "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Joystick "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" right "" ,
"" id "" : "" 942 a66d9 - d42f - 43d 6 - 8d 70 - ecb4ba5363bc "" ,
"" path "" : "" < Joystick > / stick / right "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Joystick "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" Keyboard "" ,
"" id "" : "" ff527021 - f211 - 4 c02 - 933e-5976594 c46ed "" ,
"" path "" : "" 2D Vector "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : true ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" up "" ,
"" id "" : "" 563f bfdd - 0f 09 - 408d - aa75 - 8642 c4f08ef0 "" ,
"" path "" : "" < Keyboard > / w "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" up "" ,
"" id "" : "" eb480147 - c587 - 4 a33 - 85 ed - eb0ab9942c43 "" ,
"" path "" : "" < Keyboard > / upArrow "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" down "" ,
"" id "" : "" 2 bf42165 - 60 bc - 42 ca - 8072 - 8 c13ab40239b "" ,
"" path "" : "" < Keyboard > / s "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" down "" ,
"" id "" : "" 85d 264 ad - e0a0 - 4565 - b7ff - 1 a37edde51ac "" ,
"" path "" : "" < Keyboard > / downArrow "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" left "" ,
"" id "" : "" 74214943 - c580 - 44e4 - 98 eb - ad7eebe17902 "" ,
"" path "" : "" < Keyboard > / a "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" left "" ,
"" id "" : "" cea9b045 - a000 - 445 b - 95 b8 - 0 c171af70a3b "" ,
"" path "" : "" < Keyboard > / leftArrow "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" right "" ,
"" id "" : "" 8607 c725 - d935 - 4808 - 84 b1 - 8354e29 bab63 "" ,
"" path "" : "" < Keyboard > / d "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" right "" ,
"" id "" : "" 4 cda81dc - 9 edd - 4e03 - 9d 7 c - a71a14345d0b "" ,
"" path "" : "" < Keyboard > / rightArrow "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse "" ,
"" action "" : "" Navigate "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : true
} ,
{
"" name "" : "" "" ,
"" id "" : "" 9e92 bb26 - 7e3 b - 4 ec4 - b06b - 3 c8f8e498ddc "" ,
"" path "" : "" * / { Submit } "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse ; Gamepad ; Touch ; Joystick ; XR "" ,
"" action "" : "" Submit "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 82627d cc - 3 b13 - 4 ba9 - 841d - e4b746d6553e "" ,
"" path "" : "" * / { Cancel } "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse ; Gamepad ; Touch ; Joystick ; XR "" ,
"" action "" : "" Cancel "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" c52c8e0b - 8179 - 41d 3 - b8a1 - d149033bbe86 "" ,
"" path "" : "" < Mouse > / position "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse "" ,
"" action "" : "" Point "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" e1394cbc - 336e-44 ce - 9 ea8 - 6007 ed6193f7 "" ,
"" path "" : "" < Pen > / position "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Keyboard & Mouse "" ,
"" action "" : "" Point "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 5693e57 a - 238 a - 46 ed - b5ae - e64e6e574302 "" ,
"" path "" : "" < Touchscreen > / touch * / position "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Touch "" ,
"" action "" : "" Point "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 4f af7dc9 - b979 - 4210 - aa8c - e808e1ef89f5 "" ,
"" path "" : "" < Mouse > / leftButton "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" Click "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 8d 66d 5 ba - 88d 7 - 48e6 - b1cd - 198 bbfef7ace "" ,
"" path "" : "" < Pen > / tip "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" Click "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 47 c2a644 - 3 ebc - 4d ae - a106 - 589 b7ca75b59 "" ,
"" path "" : "" < Touchscreen > / touch * / press "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" Touch "" ,
"" action "" : "" Click "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" bb9e6b34 - 44 bf - 4381 - ac63 - 5 aa15d19f677 "" ,
"" path "" : "" < XRController > / trigger "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" XR "" ,
"" action "" : "" Click "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 38 c99815 - 14 ea - 4617 - 8627 - 164d 27641299 "" ,
"" path "" : "" < Mouse > / scroll "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" ScrollWheel "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 24066f 69 - da47 - 44f 3 - a07e - 0015f b02eb2e "" ,
"" path "" : "" < Mouse > / middleButton "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" MiddleClick "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 4 c191405 - 5738 - 4d 4 b - a523 - c6a301dbf754 "" ,
"" path "" : "" < Mouse > / rightButton "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" ; Keyboard & Mouse "" ,
"" action "" : "" RightClick "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 7236 c0d9 - 6 ca3 - 47 cf - a6ee - a97f5b59ea77 "" ,
"" path "" : "" < XRController > / devicePosition "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" XR "" ,
"" action "" : "" TrackedDevicePosition "" ,
"" isComposite "" : false ,
"" isPartOfComposite "" : false
} ,
{
"" name "" : "" "" ,
"" id "" : "" 23e01 e3a - f935 - 4948 - 8d 8 b - 9 bcac77714fb "" ,
"" path "" : "" < XRController > / deviceRotation "" ,
"" interactions "" : "" "" ,
"" processors "" : "" "" ,
"" groups "" : "" XR "" ,
"" action "" : "" TrackedDeviceOrientation "" ,
"" 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
}
]
}
]
} ");
// PacManInputSystem
m_PacManInputSystem = asset . FindActionMap ( "PacManInputSystem" , throwIfNotFound : true ) ;
m_PacManInputSystem_Move = m_PacManInputSystem . FindAction ( "Move" , throwIfNotFound : true ) ;
m_PacManInputSystem_Look = m_PacManInputSystem . FindAction ( "Look" , throwIfNotFound : true ) ;
m_PacManInputSystem_Fire = m_PacManInputSystem . FindAction ( "Fire" , throwIfNotFound : true ) ;
2025-03-17 21:56:02 +08:00
m_PacManInputSystem_Menu = m_PacManInputSystem . FindAction ( "Menu" , throwIfNotFound : true ) ;
2025-03-16 21:57:56 +08:00
// 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 ) ;
}
~ @PacManInput ( )
{
UnityEngine . Debug . Assert ( ! m_PacManInputSystem . enabled , "This will cause a leak and performance issues, PacManInput.PacManInputSystem.Disable() has not been called." ) ;
UnityEngine . Debug . Assert ( ! m_UI . enabled , "This will cause a leak and performance issues, PacManInput.UI.Disable() has not been called." ) ;
}
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 ) ;
}
// PacManInputSystem
private readonly InputActionMap m_PacManInputSystem ;
private List < IPacManInputSystemActions > m_PacManInputSystemActionsCallbackInterfaces = new List < IPacManInputSystemActions > ( ) ;
private readonly InputAction m_PacManInputSystem_Move ;
private readonly InputAction m_PacManInputSystem_Look ;
private readonly InputAction m_PacManInputSystem_Fire ;
2025-03-17 21:56:02 +08:00
private readonly InputAction m_PacManInputSystem_Menu ;
2025-03-16 21:57:56 +08:00
public struct PacManInputSystemActions
{
private @PacManInput m_Wrapper ;
public PacManInputSystemActions ( @PacManInput wrapper ) { m_Wrapper = wrapper ; }
public InputAction @Move = > m_Wrapper . m_PacManInputSystem_Move ;
public InputAction @Look = > m_Wrapper . m_PacManInputSystem_Look ;
public InputAction @Fire = > m_Wrapper . m_PacManInputSystem_Fire ;
2025-03-17 21:56:02 +08:00
public InputAction @Menu = > m_Wrapper . m_PacManInputSystem_Menu ;
2025-03-16 21:57:56 +08:00
public InputActionMap Get ( ) { return m_Wrapper . m_PacManInputSystem ; }
public void Enable ( ) { Get ( ) . Enable ( ) ; }
public void Disable ( ) { Get ( ) . Disable ( ) ; }
public bool enabled = > Get ( ) . enabled ;
public static implicit operator InputActionMap ( PacManInputSystemActions set ) { return set . Get ( ) ; }
public void AddCallbacks ( IPacManInputSystemActions instance )
{
if ( instance = = null | | m_Wrapper . m_PacManInputSystemActionsCallbackInterfaces . Contains ( instance ) ) return ;
m_Wrapper . m_PacManInputSystemActionsCallbackInterfaces . 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 ;
@Fire . started + = instance . OnFire ;
@Fire . performed + = instance . OnFire ;
@Fire . canceled + = instance . OnFire ;
2025-03-17 21:56:02 +08:00
@Menu . started + = instance . OnMenu ;
@Menu . performed + = instance . OnMenu ;
@Menu . canceled + = instance . OnMenu ;
2025-03-16 21:57:56 +08:00
}
private void UnregisterCallbacks ( IPacManInputSystemActions 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 ;
@Fire . started - = instance . OnFire ;
@Fire . performed - = instance . OnFire ;
@Fire . canceled - = instance . OnFire ;
2025-03-17 21:56:02 +08:00
@Menu . started - = instance . OnMenu ;
@Menu . performed - = instance . OnMenu ;
@Menu . canceled - = instance . OnMenu ;
2025-03-16 21:57:56 +08:00
}
public void RemoveCallbacks ( IPacManInputSystemActions instance )
{
if ( m_Wrapper . m_PacManInputSystemActionsCallbackInterfaces . Remove ( instance ) )
UnregisterCallbacks ( instance ) ;
}
public void SetCallbacks ( IPacManInputSystemActions instance )
{
foreach ( var item in m_Wrapper . m_PacManInputSystemActionsCallbackInterfaces )
UnregisterCallbacks ( item ) ;
m_Wrapper . m_PacManInputSystemActionsCallbackInterfaces . Clear ( ) ;
AddCallbacks ( instance ) ;
}
}
public PacManInputSystemActions @PacManInputSystem = > new PacManInputSystemActions ( this ) ;
// UI
private readonly InputActionMap m_UI ;
private List < IUIActions > m_UIActionsCallbackInterfaces = new List < IUIActions > ( ) ;
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 @PacManInput m_Wrapper ;
public UIActions ( @PacManInput 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 AddCallbacks ( IUIActions instance )
{
if ( instance = = null | | m_Wrapper . m_UIActionsCallbackInterfaces . Contains ( instance ) ) return ;
m_Wrapper . m_UIActionsCallbackInterfaces . Add ( instance ) ;
@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 ;
}
private void UnregisterCallbacks ( IUIActions instance )
{
@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 void RemoveCallbacks ( IUIActions instance )
{
if ( m_Wrapper . m_UIActionsCallbackInterfaces . Remove ( instance ) )
UnregisterCallbacks ( instance ) ;
}
public void SetCallbacks ( IUIActions instance )
{
foreach ( var item in m_Wrapper . m_UIActionsCallbackInterfaces )
UnregisterCallbacks ( item ) ;
m_Wrapper . m_UIActionsCallbackInterfaces . Clear ( ) ;
AddCallbacks ( instance ) ;
}
}
public UIActions @UI = > new UIActions ( this ) ;
private int m_KeyboardMouseSchemeIndex = - 1 ;
public InputControlScheme KeyboardMouseScheme
{
get
{
if ( m_KeyboardMouseSchemeIndex = = - 1 ) m_KeyboardMouseSchemeIndex = asset . FindControlSchemeIndex ( "Keyboard&Mouse" ) ;
return asset . controlSchemes [ m_KeyboardMouseSchemeIndex ] ;
}
}
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_TouchSchemeIndex = - 1 ;
public InputControlScheme TouchScheme
{
get
{
if ( m_TouchSchemeIndex = = - 1 ) m_TouchSchemeIndex = asset . FindControlSchemeIndex ( "Touch" ) ;
return asset . controlSchemes [ m_TouchSchemeIndex ] ;
}
}
private int m_JoystickSchemeIndex = - 1 ;
public InputControlScheme JoystickScheme
{
get
{
if ( m_JoystickSchemeIndex = = - 1 ) m_JoystickSchemeIndex = asset . FindControlSchemeIndex ( "Joystick" ) ;
return asset . controlSchemes [ m_JoystickSchemeIndex ] ;
}
}
private int m_XRSchemeIndex = - 1 ;
public InputControlScheme XRScheme
{
get
{
if ( m_XRSchemeIndex = = - 1 ) m_XRSchemeIndex = asset . FindControlSchemeIndex ( "XR" ) ;
return asset . controlSchemes [ m_XRSchemeIndex ] ;
}
}
public interface IPacManInputSystemActions
{
void OnMove ( InputAction . CallbackContext context ) ;
void OnLook ( InputAction . CallbackContext context ) ;
void OnFire ( InputAction . CallbackContext context ) ;
2025-03-17 21:56:02 +08:00
void OnMenu ( InputAction . CallbackContext context ) ;
2025-03-16 21:57:56 +08:00
}
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 ) ;
}
}