feat: rotate the player camera to the side with the mouse

This commit is contained in:
2026-02-24 09:33:08 +01:00
parent 227f8bde40
commit 44e13f4837
10 changed files with 1849 additions and 27 deletions

1505
Assets/Input/InputMaster.cs Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: bb780d6a79f8f46ce8ed37b6cf73dbbb
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -1,6 +1,6 @@
{
"version": 1,
"name": "OMG",
"name": "InputMaster",
"maps": [
{
"name": "Player",
@@ -180,22 +180,22 @@
},
{
"name": "",
"id": "8c8e490b-c610-4785-884f-f04217b23ca4",
"path": "<Pointer>/delta",
"id": "3e5f5442-8668-4b27-a940-df99bad7e831",
"path": "<Joystick>/{Hatswitch}",
"interactions": "",
"processors": "",
"groups": ";Keyboard&Mouse;Touch",
"groups": "Joystick",
"action": "Look",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "3e5f5442-8668-4b27-a940-df99bad7e831",
"path": "<Joystick>/{Hatswitch}",
"id": "79d18aab-c726-4645-8a8b-f39d1e96e67e",
"path": "<Mouse>/delta",
"interactions": "",
"processors": "",
"groups": "Joystick",
"groups": "",
"action": "Look",
"isComposite": false,
"isPartOfComposite": false

View File

@@ -8,7 +8,7 @@ ScriptedImporter:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 8404be70184654265930450def6a9037, type: 3}
generateWrapperCode: 0
generateWrapperCode: 1
wrapperCodePath:
wrapperClassName:
wrapperCodeNamespace: