From b4d9f08dc4c6ff3be364c2beb14c339f6064db9a Mon Sep 17 00:00:00 2001 From: Simon Jackson Date: Sat, 24 Dec 2022 12:54:57 +0000 Subject: [PATCH] Marked ScrollPositionController as Obsolete, users should use the newer Scroller component instead, will be removed in a future release. Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/305 --- Runtime/Scripts/Layout/ScrollPositionController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Scripts/Layout/ScrollPositionController.cs b/Runtime/Scripts/Layout/ScrollPositionController.cs index eb9c4ef..a918bb9 100644 --- a/Runtime/Scripts/Layout/ScrollPositionController.cs +++ b/Runtime/Scripts/Layout/ScrollPositionController.cs @@ -2,11 +2,11 @@ /// Sourced from - https://github.com/setchi/FancyScrollView using System; -using UnityEngine.Events; using UnityEngine.EventSystems; namespace UnityEngine.UI.Extensions { + [Obsolete("ScrollPositionController has been replaced by the Scroller component", true)] public class ScrollPositionController : UIBehaviour, IBeginDragHandler, IEndDragHandler, IDragHandler { [SerializeField]