Updated ScrollPositionControllerEditor as obsolete too

pull/413/head
Simon Jackson 2022-12-24 13:02:50 +00:00
parent b4d9f08dc4
commit dced045001
1 changed files with 2 additions and 0 deletions

View File

@ -3,10 +3,12 @@
// For maintenance, every new [SerializeField] variable in ScrollPositionController must be declared here // For maintenance, every new [SerializeField] variable in ScrollPositionController must be declared here
using System;
using UnityEditor; using UnityEditor;
namespace UnityEngine.UI.Extensions namespace UnityEngine.UI.Extensions
{ {
[Obsolete("ScrollPositionController has been replaced by the Scroller component", true)]
[CustomEditor(typeof(ScrollPositionController))] [CustomEditor(typeof(ScrollPositionController))]
[CanEditMultipleObjects] [CanEditMultipleObjects]
public class ScrollPositionControllerEditor : Editor public class ScrollPositionControllerEditor : Editor