Added Cinemachine and created a new InputAction asset

This commit is contained in:
Brown, Caleb M 2023-07-26 12:39:47 -04:00
parent 58b13b9b7a
commit 4acd9663ba
6 changed files with 177 additions and 0 deletions

8
Assets/Settings.meta Normal file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: fd38190998cdd4d41853c992c027e50b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 19aec48db6761764a91e3971485ef364
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,137 @@
{
"name": "GeneralInput",
"maps": [
{
"name": "Player",
"id": "a648116e-30a4-4385-b1b3-c68313a99118",
"actions": [
{
"name": "Look",
"type": "Value",
"id": "66b1943a-5f5d-4468-8927-cf27d673a48d",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Zoom",
"type": "Value",
"id": "629b760e-aea2-43b1-bab8-82a63af8926a",
"expectedControlType": "Analog",
"processors": "",
"interactions": "",
"initialStateCheck": true
}
],
"bindings": [
{
"name": "",
"id": "89a12f40-df5f-4fb3-9b97-2c0e44d94221",
"path": "<Gamepad>/rightStick",
"interactions": "",
"processors": "",
"groups": "Gamepad",
"action": "Look",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "One Modifier",
"id": "6e497863-3638-48e9-9613-117acaa7fa74",
"path": "OneModifier",
"interactions": "",
"processors": "",
"groups": "",
"action": "Look",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "modifier",
"id": "850418d7-0e8a-4c18-97af-84abbc55a230",
"path": "<Mouse>/rightButton",
"interactions": "",
"processors": "",
"groups": "",
"action": "Look",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "binding",
"id": "c975f272-be60-4cb0-9ca7-9a0314601f4c",
"path": "<Pointer>/delta",
"interactions": "",
"processors": "",
"groups": "Keyboard&Mouse",
"action": "Look",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "",
"id": "e5cbb455-b6d3-4a9c-a4a2-7188510d7aa4",
"path": "<Touchscreen>/primaryTouch/delta",
"interactions": "",
"processors": "",
"groups": "Touch",
"action": "Look",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "ed328ea2-92b4-4229-9fbc-16aad7be7d70",
"path": "<Mouse>/scroll/y",
"interactions": "",
"processors": "",
"groups": "Keyboard&Mouse",
"action": "Zoom",
"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
}
]
}
]
}

View File

@ -0,0 +1,14 @@
fileFormatVersion: 2
guid: 60132311316fe1d4fbf004b791401886
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 8404be70184654265930450def6a9037, type: 3}
generateWrapperCode: 0
wrapperCodePath:
wrapperClassName:
wrapperCodeNamespace:

View File

@ -26,6 +26,7 @@
"com.microsoft.mrtk.uxcore": "file:MixedReality/com.microsoft.mrtk.uxcore-3.0.0-pre.16.tgz",
"com.microsoft.mrtk.windowsspeech": "file:MixedReality/com.microsoft.mrtk.windowsspeech-3.0.0-pre.16.tgz",
"com.microsoft.spatialaudio.spatializer.unity": "file:MixedReality/com.microsoft.spatialaudio.spatializer.unity-2.0.37.tgz",
"com.unity.cinemachine": "2.9.7",
"com.unity.feature.development": "1.0.1",
"com.unity.netcode.gameobjects": "1.5.1",
"com.unity.textmeshpro": "3.0.6",

View File

@ -159,6 +159,15 @@
},
"url": "https://packages.unity.com"
},
"com.unity.cinemachine": {
"version": "2.9.7",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.test-framework": "1.1.31"
},
"url": "https://packages.unity.com"
},
"com.unity.collections": {
"version": "1.2.4",
"depth": 2,