From 1853ad7e89cd146cd87b100844868ac8c0c2f445 Mon Sep 17 00:00:00 2001 From: Simon Jackson Date: Sun, 1 Jan 2023 11:32:37 +0000 Subject: [PATCH] Marked TileSizeFitter as obsolete as Unity has made this unworkable Resolves: https://github.com/Unity-UI-Extensions/com.unity.uiextensions/issues/214 --- Runtime/Scripts/Layout/TileSizeFitter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Runtime/Scripts/Layout/TileSizeFitter.cs b/Runtime/Scripts/Layout/TileSizeFitter.cs index 10a65b7..c4bae96 100644 --- a/Runtime/Scripts/Layout/TileSizeFitter.cs +++ b/Runtime/Scripts/Layout/TileSizeFitter.cs @@ -1,10 +1,12 @@ /// Credit Ges /// Sourced from - http://forum.unity3d.com/threads/scripts-useful-4-6-scripts-collection.264161/page-3#post-2280109 +using System; using UnityEngine.EventSystems; namespace UnityEngine.UI.Extensions { + [Obsolete("TileSizeFitter will be deprecated in next version as Unity has disabled this feature")] [ExecuteInEditMode] [RequireComponent(typeof(RectTransform))] [AddComponentMenu("Layout/Extensions/Tile Size Fitter")]