Move to new input system

This commit is contained in:
BuyMyMojo 2023-02-26 02:42:14 +11:00
parent 27fd68c1c2
commit 4a2f04bc03
5 changed files with 323 additions and 18 deletions

View file

@ -0,0 +1,78 @@
{
"name": "PlayerInputActions",
"maps": [
{
"name": "Player",
"id": "f8e0b637-f75b-461a-9bb5-2d30dff139f5",
"actions": [
{
"name": "Move",
"type": "Value",
"id": "cbd84e00-2ff4-4f1a-aba7-e70ef32df0dd",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
}
],
"bindings": [
{
"name": "WASD",
"id": "88272aa4-9de4-4969-bf34-a8cf0ed36447",
"path": "2DVector",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "up",
"id": "79392300-286e-4514-9d4d-80dcf0228dde",
"path": "<Keyboard>/w",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "down",
"id": "2b3f2378-274e-4c40-a504-6f8a9acecee6",
"path": "<Keyboard>/s",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "left",
"id": "fe756558-4d52-48da-8920-d4d0cda44f93",
"path": "<Keyboard>/a",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "right",
"id": "fdfbd92c-6699-4560-a60e-bd40d65c4130",
"path": "<Keyboard>/d",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
}
]
}
],
"controlSchemes": []
}