Commit 7d7acda8 authored by mercury233's avatar mercury233

disable joystick

parent f371471a
...@@ -236,7 +236,7 @@ public class UICamera : MonoBehaviour ...@@ -236,7 +236,7 @@ public class UICamera : MonoBehaviour
/// Whether the joystick and controller events will be processed. /// Whether the joystick and controller events will be processed.
/// </summary> /// </summary>
public bool useController = true; public bool useController = false;
[System.Obsolete("Use new OnDragStart / OnDragOver / OnDragOut / OnDragEnd events instead")] [System.Obsolete("Use new OnDragStart / OnDragOver / OnDragOut / OnDragEnd events instead")]
public bool stickyPress { get { return true; } } public bool stickyPress { get { return true; } }
...@@ -372,7 +372,7 @@ public class UICamera : MonoBehaviour ...@@ -372,7 +372,7 @@ public class UICamera : MonoBehaviour
} }
} }
static bool mDisableController = false; static bool mDisableController = true;
static Vector2 mLastPos = Vector2.zero; static Vector2 mLastPos = Vector2.zero;
/// <summary> /// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment