Commit 82b6d5ae authored by mercury233's avatar mercury233 Committed by Unicorn369

disable joystick

parent 40c41bc5
...@@ -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