|
@ -8,10 +8,10 @@ using UnityEngine.UI; |
|
|
|
|
|
|
|
|
public class TrackballInputManager : MonoBehaviour |
|
|
public class TrackballInputManager : MonoBehaviour |
|
|
{ |
|
|
{ |
|
|
const float defaultMiceSensitivity = 1.5f; |
|
|
const float defaultMiceSensitivity = 2.5f; |
|
|
const float upMultiplier = .5f; |
|
|
const float upMultiplier = .5f; |
|
|
const float accelerationThreshold = 120; |
|
|
const float accelerationThreshold = 120; |
|
|
const float accelerationMultiplier = .75f; |
|
|
const float accelerationMultiplier = .5f; |
|
|
|
|
|
|
|
|
[DllImport("LibRawInput")] |
|
|
[DllImport("LibRawInput")] |
|
|
private static extern bool init(); |
|
|
private static extern bool init(); |
|
|