ScrollRectMultiTouchFix.cs edited online with Bitbucket
parent
90a87e6e4d
commit
4520bf26d7
|
@ -35,10 +35,8 @@ namespace UnityEngine.UI.Extensions
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public override void OnEndDrag (UnityEngine.EventSystems.PointerEventData eventData)
|
public override void OnEndDrag (UnityEngine.EventSystems.PointerEventData eventData)
|
||||||
{
|
{
|
||||||
if (pid == eventData.pointerId) {
|
|
||||||
pid = -100;
|
pid = -100;
|
||||||
base.OnEndDrag (eventData);
|
base.OnEndDrag (eventData);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue