Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 02abdd0

Browse files
Minor update to MagneticInfinite Scroll
1 parent 8870e4c commit 02abdd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Runtime/Scripts/Utilities/UI_MagneticInfiniteScroll.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
namespace UnityEngine.UI.Extensions
1111
{
1212
[AddComponentMenu("UI/Extensions/UI Magnetic Infinite Scroll")]
13+
[RequireComponent(typeof(ScrollRect))]
1314
public class UI_MagneticInfiniteScroll : UI_InfiniteScroll, IDragHandler, IEndDragHandler, IScrollHandler
1415
{
1516
public event Action<GameObject> OnNewSelect;

0 commit comments

Comments
 (0)