Переписал скрипты Restart и BackToMenu, Настроил управление, изменил меню

This commit is contained in:
2024-08-08 17:53:46 +03:00
parent 72950b2600
commit f5a594d323
15 changed files with 250 additions and 8 deletions

View File

@ -86,7 +86,40 @@
"isPartOfComposite": true
},
{
"name": "gamepads",
"name": "Keyboard",
"id": "9194693b-7c4f-425d-8c96-f54db1eca8b7",
"path": "1DAxis",
"interactions": "",
"processors": "",
"groups": "",
"action": "Throttle",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "negative",
"id": "6c933367-c71d-44dd-abf8-0f71205c4259",
"path": "<Keyboard>/s",
"interactions": "",
"processors": "",
"groups": "Keyboard",
"action": "Throttle",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "positive",
"id": "14950296-ddfa-45da-a8a1-841dc23e7bed",
"path": "<Keyboard>/w",
"interactions": "",
"processors": "",
"groups": "Keyboard",
"action": "Throttle",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "Gamepad",
"id": "890eb4a4-7dfa-423d-b9dd-a5ba330c7482",
"path": "2DVector",
"interactions": "",
@ -102,7 +135,7 @@
"path": "<Gamepad>/leftStick/left",
"interactions": "",
"processors": "",
"groups": "",
"groups": "Gamepad",
"action": "Steering",
"isComposite": false,
"isPartOfComposite": true
@ -119,7 +152,40 @@
"isPartOfComposite": true
},
{
"name": "1D Axis",
"name": "Keyboard",
"id": "2b119774-42e0-4af7-a6d0-f80ab7a1d792",
"path": "2DVector",
"interactions": "",
"processors": "",
"groups": "",
"action": "Steering",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "left",
"id": "c4725932-bf77-49b4-ae6a-f2a821af74f3",
"path": "<Keyboard>/a",
"interactions": "",
"processors": "",
"groups": "Keyboard",
"action": "Steering",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "right",
"id": "7982cd98-2174-4ba5-9336-86444014708c",
"path": "<Keyboard>/d",
"interactions": "",
"processors": "",
"groups": "Keyboard",
"action": "Steering",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "Gamepad",
"id": "7f8ea85c-3a52-47e3-865f-5f276f15d11b",
"path": "1DAxis(minValue=0)",
"interactions": "",
@ -135,7 +201,7 @@
"path": "",
"interactions": "",
"processors": "",
"groups": "",
"groups": "Gamepad",
"action": "Handbrake",
"isComposite": false,
"isPartOfComposite": true
@ -151,6 +217,39 @@
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "Keyboard",
"id": "d3e19a7d-ec2e-4908-bcfc-10ed6149e97a",
"path": "1DAxis",
"interactions": "",
"processors": "",
"groups": "",
"action": "Handbrake",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "negative",
"id": "c59d61e7-3a15-439d-87fa-8a59b5fe6437",
"path": "",
"interactions": "",
"processors": "",
"groups": "Keyboard",
"action": "Handbrake",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "positive",
"id": "422064e0-3113-4666-b205-973375de75e0",
"path": "<Keyboard>/space",
"interactions": "",
"processors": "",
"groups": "Keyboard",
"action": "Handbrake",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "Gamepad",
"id": "14b1e5bd-e2a3-43d4-ace6-679f8a78c59c",
@ -168,7 +267,7 @@
"path": "",
"interactions": "",
"processors": "",
"groups": "",
"groups": "Gamepad",
"action": "NOS",
"isComposite": false,
"isPartOfComposite": true
@ -184,6 +283,39 @@
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "Keyboard",
"id": "57f4b081-cb98-4eb6-86ce-546b71291040",
"path": "1DAxis",
"interactions": "",
"processors": "",
"groups": "",
"action": "NOS",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "negative",
"id": "b78718e4-3099-4c95-bccc-023c98eae17d",
"path": "",
"interactions": "",
"processors": "",
"groups": "Keyboard",
"action": "NOS",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "positive",
"id": "ccc60a83-d82a-46f0-8cff-8010f269dbe4",
"path": "<Keyboard>/leftShift",
"interactions": "",
"processors": "",
"groups": "Keyboard",
"action": "NOS",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "",
"id": "4d4b1ec5-f611-47d6-a6d3-f6d3ac447c79",
@ -194,6 +326,17 @@
"action": "Menu",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "efa8503e-718f-4af5-88c0-6f866190c68e",
"path": "<Keyboard>/escape",
"interactions": "",
"processors": "",
"groups": "Keyboard",
"action": "Menu",
"isComposite": false,
"isPartOfComposite": false
}
]
}
@ -209,6 +352,17 @@
"isOR": false
}
]
},
{
"name": "Keyboard",
"bindingGroup": "Keyboard",
"devices": [
{
"devicePath": "<Keyboard>",
"isOptional": false,
"isOR": false
}
]
}
]
}