mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-17 05:18:27 +00:00
fix error
This commit is contained in:
parent
759eb3c8b8
commit
f0c103b81d
1 changed files with 2 additions and 2 deletions
|
@ -165,8 +165,8 @@ namespace SanAndreasUnity.UI
|
||||||
// set mouse move input based on panel drag events
|
// set mouse move input based on panel drag events
|
||||||
|
|
||||||
this.ResetMouseMoveInput();
|
this.ResetMouseMoveInput();
|
||||||
customInput.SetAxis("Mouse X", m_panelDeltasSum.x / Screen.width * this.touchPointerSensitivity * GameManager.Instance.CursorSensitivity.x);
|
customInput.SetAxis("Mouse X", m_panelDeltasSum.x / Screen.width * this.touchPointerSensitivity * GameManager.Instance.cursorSensitivity.x);
|
||||||
customInput.SetAxis("Mouse Y", m_panelDeltasSum.y / Screen.height * this.touchPointerSensitivity * GameManager.Instance.CursorSensitivity.y);
|
customInput.SetAxis("Mouse Y", m_panelDeltasSum.y / Screen.height * this.touchPointerSensitivity * GameManager.Instance.cursorSensitivity.y);
|
||||||
// reset deltas sum
|
// reset deltas sum
|
||||||
m_panelDeltasSum = Vector2.zero;
|
m_panelDeltasSum = Vector2.zero;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue