26 lines
781 B
C#
26 lines
781 B
C#
using UnityEngine;
|
|
|
|
public class Defines
|
|
{
|
|
public class Input
|
|
{
|
|
public const int kLeftMouseButton = 0;
|
|
public const int kRightMouseButton = 1;
|
|
public const int kMiddleMouseButton = 2;
|
|
|
|
public const float kShortClickDelay = 0.25f;
|
|
public const float kShortClickCancelMinMouseMovement = 10.0f;
|
|
|
|
public const float kHeldClickDelay = 0.3f;
|
|
|
|
public const KeyCode rotateLeftKey = KeyCode.R;
|
|
public const KeyCode rotateRightKey = KeyCode.T;
|
|
public const KeyCode kCancelKeyCode = KeyCode.Escape;
|
|
|
|
public const CursorLockMode kDefaultCursorLockMode = CursorLockMode.Confined;
|
|
|
|
public const float kMouseRotationDistance = 100.0f;
|
|
public const float kDoubleClickThreshold = 0.5f;
|
|
}
|
|
}
|