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