Completed InputManager refactor
Separate InputManager from CameraController InputManager is one, consolidated input handling object CameraController provides an interface for keystrokes & mouse movements detected/handled by InputManager
This commit is contained in:
@@ -159,12 +159,12 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 17322847}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_Father: {fileID: 1457077473}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &61846315
|
||||
GameObject:
|
||||
@@ -734,12 +734,12 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 253946925}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0.12123265, y: 0.17553951, z: -8.531889}
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_Father: {fileID: 1457077473}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &320210793
|
||||
GameObject:
|
||||
@@ -753,7 +753,7 @@ GameObject:
|
||||
- component: {fileID: 320210797}
|
||||
- component: {fileID: 320210796}
|
||||
- component: {fileID: 320210795}
|
||||
m_Layer: 0
|
||||
m_Layer: 6
|
||||
m_Name: Floor
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
@@ -1677,30 +1677,29 @@ MonoBehaviour:
|
||||
m_GameObject: {fileID: 963194225}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6a028bd12cca23f45a9eeb9fb0c4d1f1, type: 3}
|
||||
m_Script: {fileID: 11500000, guid: b9e222cf9df32df4196f08036d68d740, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
mouseActive: 1
|
||||
autoplayCamSpeed: 2
|
||||
xAutoRotateTime: 5
|
||||
yAutoRotateTime: 5
|
||||
lockUserInput: 0
|
||||
_cameraSpeedNormal: 100
|
||||
_cameraSpeedMax: 1000
|
||||
_speedH: 2
|
||||
_speedV: 2
|
||||
autoRotate: 0
|
||||
_speedH: 1
|
||||
_speedV: 1
|
||||
_autoRotate: 0
|
||||
target: {fileID: 1255004942}
|
||||
targetRenderer: {fileID: 1255004940}
|
||||
floorRenderer: {fileID: 394856875}
|
||||
matAlpha: 0
|
||||
orbitDistance: 5000
|
||||
orbitXSpeed: 0.1
|
||||
orbitYSpeed: 0.1
|
||||
_orbitDistance: 5
|
||||
_orbitXSpeed: 0.1
|
||||
_orbitYSpeed: 0.1
|
||||
_zoomSpeed: 5
|
||||
orbitYMinLimit: -20
|
||||
orbitYMaxLimit: 80
|
||||
orbitDistanceMin: 10
|
||||
orbitDistanceMax: 10000
|
||||
targetRenderer: {fileID: 1255004940}
|
||||
floorRenderer: {fileID: 320210796}
|
||||
matAlpha: 0
|
||||
autoplayCamSpeed: 2
|
||||
xAutoRotateTime: 5
|
||||
yAutoRotateTime: 5
|
||||
forwardToCameraAngle: 0
|
||||
--- !u!1 &986996500
|
||||
GameObject:
|
||||
@@ -1875,6 +1874,52 @@ MeshRenderer:
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!1 &1036072789
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1036072790}
|
||||
- component: {fileID: 1036072791}
|
||||
m_Layer: 0
|
||||
m_Name: InputManager
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1036072790
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1036072789}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 1715.5709, y: 1660.0452, z: 811.7122}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1457077473}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &1036072791
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1036072789}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6a028bd12cca23f45a9eeb9fb0c4d1f1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
mouseActive: 1
|
||||
lockUserInput: 0
|
||||
--- !u!1 &1254435375
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -2268,6 +2313,40 @@ MeshRenderer:
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!1 &1457077472
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1457077473}
|
||||
m_Layer: 0
|
||||
m_Name: Managers
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1457077473
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1457077472}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 253946927}
|
||||
- {fileID: 1036072790}
|
||||
- {fileID: 17322849}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1658847972
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -2622,8 +2701,7 @@ SceneRoots:
|
||||
- {fileID: 963194228}
|
||||
- {fileID: 705507995}
|
||||
- {fileID: 674567085}
|
||||
- {fileID: 253946927}
|
||||
- {fileID: 2052906806}
|
||||
- {fileID: 17322849}
|
||||
- {fileID: 1255004942}
|
||||
- {fileID: 564968303}
|
||||
- {fileID: 1457077473}
|
||||
|
||||
Reference in New Issue
Block a user