Non-code updates: - add new package Multiplayer Play Mode - add new (test) Build Profile - update (test) Level Design for MultiplayerScene Code updates: - RobotController.cs: - changed variable scopes to protected - changed function scopes to protected - add audioListener to NetworkObject - add new Input Methods: OnAim, OnCrouch, OnInteract - Trooper.cs - (test) descendant class for RobotController
493 lines
18 KiB
Plaintext
493 lines
18 KiB
Plaintext
{
|
|
"name": "PlayerControls",
|
|
"maps": [
|
|
{
|
|
"name": "Player",
|
|
"id": "df70fa95-8a34-4494-b137-73ab6b9c7d37",
|
|
"actions": [
|
|
{
|
|
"name": "Move",
|
|
"type": "Value",
|
|
"id": "351f2ccd-1f9f-44bf-9bec-d62ac5c5f408",
|
|
"expectedControlType": "Vector2",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": true
|
|
},
|
|
{
|
|
"name": "Look",
|
|
"type": "Value",
|
|
"id": "6b444451-8a00-4d00-a97e-f47457f736a8",
|
|
"expectedControlType": "Vector2",
|
|
"processors": "ScaleVector2(x=0.1,y=0.1)",
|
|
"interactions": "",
|
|
"initialStateCheck": true
|
|
},
|
|
{
|
|
"name": "Attack",
|
|
"type": "Button",
|
|
"id": "6c2ab1b8-8984-453a-af3d-a3c78ae1679a",
|
|
"expectedControlType": "",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Aim",
|
|
"type": "Button",
|
|
"id": "2a99e371-83b4-4141-b654-6c711c285b96",
|
|
"expectedControlType": "",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Interact",
|
|
"type": "Button",
|
|
"id": "852140f2-7766-474d-8707-702459ba45f3",
|
|
"expectedControlType": "",
|
|
"processors": "",
|
|
"interactions": "Hold",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Crouch",
|
|
"type": "Button",
|
|
"id": "27c5f898-bc57-4ee1-8800-db469aca5fe3",
|
|
"expectedControlType": "",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Jump",
|
|
"type": "Button",
|
|
"id": "f1ba0d36-48eb-4cd5-b651-1c94a6531f70",
|
|
"expectedControlType": "Button",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Sprint",
|
|
"type": "Button",
|
|
"id": "641cd816-40e6-41b4-8c3d-04687c349290",
|
|
"expectedControlType": "",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Previous",
|
|
"type": "Button",
|
|
"id": "2776c80d-3c14-4091-8c56-d04ced07a2b0",
|
|
"expectedControlType": "",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "Next",
|
|
"type": "Button",
|
|
"id": "b7230bb6-fc9b-4f52-8b25-f5e19cb2c2ba",
|
|
"expectedControlType": "",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
},
|
|
{
|
|
"name": "DevConsole",
|
|
"type": "Button",
|
|
"id": "1689b981-7d80-4535-a45a-1d81850f6306",
|
|
"expectedControlType": "",
|
|
"processors": "",
|
|
"interactions": "",
|
|
"initialStateCheck": false
|
|
}
|
|
],
|
|
"bindings": [
|
|
{
|
|
"name": "",
|
|
"id": "978bfe49-cc26-4a3d-ab7b-7d7a29327403",
|
|
"path": "<Gamepad>/leftStick",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Gamepad",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "WASD",
|
|
"id": "00ca640b-d935-4593-8157-c05846ea39b3",
|
|
"path": "Dpad",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "",
|
|
"action": "Move",
|
|
"isComposite": true,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "up",
|
|
"id": "e2062cb9-1b15-46a2-838c-2f8d72a0bdd9",
|
|
"path": "<Keyboard>/w",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "up",
|
|
"id": "8180e8bd-4097-4f4e-ab88-4523101a6ce9",
|
|
"path": "<Keyboard>/upArrow",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "down",
|
|
"id": "320bffee-a40b-4347-ac70-c210eb8bc73a",
|
|
"path": "<Keyboard>/s",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "down",
|
|
"id": "1c5327b5-f71c-4f60-99c7-4e737386f1d1",
|
|
"path": "<Keyboard>/downArrow",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "left",
|
|
"id": "d2581a9b-1d11-4566-b27d-b92aff5fabbc",
|
|
"path": "<Keyboard>/a",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "left",
|
|
"id": "2e46982e-44cc-431b-9f0b-c11910bf467a",
|
|
"path": "<Keyboard>/leftArrow",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "right",
|
|
"id": "fcfe95b8-67b9-4526-84b5-5d0bc98d6400",
|
|
"path": "<Keyboard>/d",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "right",
|
|
"id": "77bff152-3580-4b21-b6de-dcd0c7e41164",
|
|
"path": "<Keyboard>/rightArrow",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse",
|
|
"action": "Move",
|
|
"isComposite": false,
|
|
"isPartOfComposite": true
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "c1f7a91b-d0fd-4a62-997e-7fb9b69bf235",
|
|
"path": "<Gamepad>/rightStick",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Gamepad",
|
|
"action": "Look",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "8c8e490b-c610-4785-884f-f04217b23ca4",
|
|
"path": "<Pointer>/delta",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse;Touch",
|
|
"action": "Look",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "05f6913d-c316-48b2-a6bb-e225f14c7960",
|
|
"path": "<Mouse>/leftButton",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse",
|
|
"action": "Attack",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "ee3d0cd2-254e-47a7-a8cb-bc94d9658c54",
|
|
"path": "<Gamepad>/rightTrigger",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Gamepad",
|
|
"action": "Attack",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "cbac6039-9c09-46a1-b5f2-4e5124ccb5ed",
|
|
"path": "<Keyboard>/2",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Keyboard&Mouse",
|
|
"action": "Next",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "e15ca19d-e649-4852-97d5-7fe8ccc44e94",
|
|
"path": "<Gamepad>/dpad/right",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Next",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "f2e9ba44-c423-42a7-ad56-f20975884794",
|
|
"path": "<Keyboard>/leftShift",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Keyboard&Mouse",
|
|
"action": "Sprint",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "8cbb2f4b-a784-49cc-8d5e-c010b8c7f4e6",
|
|
"path": "<Gamepad>/leftStickPress",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Sprint",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "eb40bb66-4559-4dfa-9a2f-820438abb426",
|
|
"path": "<Keyboard>/space",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Keyboard&Mouse",
|
|
"action": "Jump",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "daba33a1-ad0c-4742-a909-43ad1cdfbeb6",
|
|
"path": "<Gamepad>/buttonSouth",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Jump",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "1534dc16-a6aa-499d-9c3a-22b47347b52a",
|
|
"path": "<Keyboard>/1",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Keyboard&Mouse",
|
|
"action": "Previous",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "25060bbd-a3a6-476e-8fba-45ae484aad05",
|
|
"path": "<Gamepad>/dpad/left",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Gamepad",
|
|
"action": "Previous",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "1c04ea5f-b012-41d1-a6f7-02e963b52893",
|
|
"path": "<Keyboard>/e",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Keyboard&Mouse",
|
|
"action": "Interact",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "b3f66d0b-7751-423f-908b-a11c5bd95930",
|
|
"path": "<Gamepad>/buttonNorth",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Gamepad",
|
|
"action": "Interact",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "4f4649ac-64a8-4a73-af11-b3faef356a4d",
|
|
"path": "<Gamepad>/buttonEast",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Gamepad",
|
|
"action": "Crouch",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "36e52cba-0905-478e-a818-f4bfcb9f3b9a",
|
|
"path": "<Keyboard>/c",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": "Keyboard&Mouse",
|
|
"action": "Crouch",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "bea3b97a-84a1-4c8d-ba51-eaf34f0a3632",
|
|
"path": "<Keyboard>/t",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse",
|
|
"action": "DevConsole",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "2b2125ad-47db-4152-8565-91496ee9cf2f",
|
|
"path": "<Gamepad>/leftTrigger",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Gamepad",
|
|
"action": "Aim",
|
|
"isComposite": false,
|
|
"isPartOfComposite": false
|
|
},
|
|
{
|
|
"name": "",
|
|
"id": "4898b844-73d7-4a50-b958-d149c4172ec5",
|
|
"path": "<Mouse>/rightButton",
|
|
"interactions": "",
|
|
"processors": "",
|
|
"groups": ";Keyboard&Mouse",
|
|
"action": "Aim",
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |