diff --git a/Scripts/Layout/ScrollSnapScrollbarHelper.cs b/Scripts/Layout/ScrollSnapScrollbarHelper.cs index dbe2cd2..4cee355 100644 --- a/Scripts/Layout/ScrollSnapScrollbarHelper.cs +++ b/Scripts/Layout/ScrollSnapScrollbarHelper.cs @@ -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)