mirror of
https://github.com/ConjureETS/DeathBook.git
synced 2026-03-24 04:20:58 +00:00
- Fixed the scroll wheel direction
This commit is contained in:
parent
136fa855a4
commit
e6fffc508c
@ -732,15 +732,15 @@ Prefab:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22417254, guid: c993e87661906234fba410e55ed66832, type: 2}
|
||||
propertyPath: m_AnchorMin.y
|
||||
value: 0
|
||||
value: .572607875
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22417254, guid: c993e87661906234fba410e55ed66832, type: 2}
|
||||
propertyPath: m_AnchorMax.x
|
||||
value: 0
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 22417254, guid: c993e87661906234fba410e55ed66832, type: 2}
|
||||
propertyPath: m_AnchorMax.y
|
||||
value: 0
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 100100000, guid: c993e87661906234fba410e55ed66832, type: 2}
|
||||
|
||||
@ -75,7 +75,7 @@ public class NetworkingSphere : MonoBehaviour
|
||||
// if (Camera.main.ScreenToViewportPoint(Input.mousePosition) < new Vector3(1,1,1))
|
||||
if (Camera.main.ScreenToViewportPoint(Input.mousePosition).x < 1)
|
||||
{
|
||||
Camera.main.fieldOfView += Input.GetAxis("Mouse ScrollWheel") * 10f;
|
||||
Camera.main.fieldOfView -= Input.GetAxis("Mouse ScrollWheel") * 10f;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user