Closed unitycoder closed 8 years ago
temporary fix for pc:
// FIND LINE
if (eventSystem.IsPointerOverGameObject()) return;
// ADD THIS LINE AFTER IT
if (eventSystem.currentSelectedGameObject!=null) return;
temporary fix for mobiles: // FIND LINES
while (i < Input.touchCount)
{
touch = Input.GetTouch(i);
if (eventSystem.IsPointerOverGameObject(touch.fingerId)) return;
i++;
}
// ADD THIS LINE AFTER THOSE LINES ( after last } )
if (eventSystem.currentSelectedGameObject != null) return
fixed in the coming v1.96 update
it should either stop dragging slider when outside, or dont paint while still dragging slider http://forum.unity3d.com/threads/released-mobile-paint-with-multi-touch.262645/page-4#post-2483179