Updated ScrollSnapScrollbarHelper to only be added in the scene per object once
Resolves #304pull/413/head
parent
c9a6b52d19
commit
c41ad9a163
|
@ -6,9 +6,9 @@ using UnityEngine.EventSystems;
|
|||
|
||||
namespace UnityEngine.UI.Extensions
|
||||
{
|
||||
[DisallowMultipleComponent]
|
||||
public class ScrollSnapScrollbarHelper : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IBeginDragHandler, IEndDragHandler, IDragHandler
|
||||
{
|
||||
|
||||
internal IScrollSnap ss;
|
||||
|
||||
public void OnBeginDrag(PointerEventData eventData)
|
||||
|
|
Loading…
Reference in New Issue