mouse pan
This commit is contained in:
@@ -57,8 +57,6 @@ public class CameraSystem : MonoBehaviour
|
||||
transform.position = Player.Instance.transform.position;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void Update()
|
||||
{
|
||||
var cameraMove = InputManager.Instance.CameraAction.Move.ReadValue<Vector2>();
|
||||
|
||||
@@ -139,6 +139,39 @@ public partial class @InputActions: IInputActionCollection2, IDisposable
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""One Modifier"",
|
||||
""id"": ""9e79ba5a-a365-470f-bd83-9f70fcf1ac4e"",
|
||||
""path"": ""OneModifier"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": """",
|
||||
""action"": ""Move"",
|
||||
""isComposite"": true,
|
||||
""isPartOfComposite"": false
|
||||
},
|
||||
{
|
||||
""name"": ""modifier"",
|
||||
""id"": ""d894c4c2-d1c9-4a32-af41-c2c118c1debc"",
|
||||
""path"": ""<Mouse>/rightButton"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": """",
|
||||
""action"": ""Move"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""binding"",
|
||||
""id"": ""b9a4dc3d-469f-435d-bf30-601363cbd4d2"",
|
||||
""path"": ""<Mouse>/delta"",
|
||||
""interactions"": """",
|
||||
""processors"": """",
|
||||
""groups"": """",
|
||||
""action"": ""Move"",
|
||||
""isComposite"": false,
|
||||
""isPartOfComposite"": true
|
||||
},
|
||||
{
|
||||
""name"": ""One Modifier"",
|
||||
""id"": ""921968f3-646e-4a34-ae14-f68c8034a225"",
|
||||
|
||||
@@ -117,6 +117,39 @@
|
||||
"isComposite": false,
|
||||
"isPartOfComposite": true
|
||||
},
|
||||
{
|
||||
"name": "One Modifier",
|
||||
"id": "9e79ba5a-a365-470f-bd83-9f70fcf1ac4e",
|
||||
"path": "OneModifier",
|
||||
"interactions": "",
|
||||
"processors": "",
|
||||
"groups": "",
|
||||
"action": "Move",
|
||||
"isComposite": true,
|
||||
"isPartOfComposite": false
|
||||
},
|
||||
{
|
||||
"name": "modifier",
|
||||
"id": "d894c4c2-d1c9-4a32-af41-c2c118c1debc",
|
||||
"path": "<Mouse>/rightButton",
|
||||
"interactions": "",
|
||||
"processors": "",
|
||||
"groups": "",
|
||||
"action": "Move",
|
||||
"isComposite": false,
|
||||
"isPartOfComposite": true
|
||||
},
|
||||
{
|
||||
"name": "binding",
|
||||
"id": "b9a4dc3d-469f-435d-bf30-601363cbd4d2",
|
||||
"path": "<Mouse>/delta",
|
||||
"interactions": "",
|
||||
"processors": "",
|
||||
"groups": "",
|
||||
"action": "Move",
|
||||
"isComposite": false,
|
||||
"isPartOfComposite": true
|
||||
},
|
||||
{
|
||||
"name": "One Modifier",
|
||||
"id": "921968f3-646e-4a34-ae14-f68c8034a225",
|
||||
|
||||
Reference in New Issue
Block a user