From dced045001d085de6c434ba3d143376f64b9fe07 Mon Sep 17 00:00:00 2001 From: Simon Jackson Date: Sat, 24 Dec 2022 13:02:50 +0000 Subject: [PATCH] Updated ScrollPositionControllerEditor as obsolete too --- Editor/ScrollPositionControllerEditor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Editor/ScrollPositionControllerEditor.cs b/Editor/ScrollPositionControllerEditor.cs index e4ae2cc..f56c735 100644 --- a/Editor/ScrollPositionControllerEditor.cs +++ b/Editor/ScrollPositionControllerEditor.cs @@ -3,10 +3,12 @@ // For maintenance, every new [SerializeField] variable in ScrollPositionController must be declared here +using System; using UnityEditor; namespace UnityEngine.UI.Extensions { + [Obsolete("ScrollPositionController has been replaced by the Scroller component", true)] [CustomEditor(typeof(ScrollPositionController))] [CanEditMultipleObjects] public class ScrollPositionControllerEditor : Editor