using System; using System.Collections.Generic; using UnityEditor; using UnityEngine; namespace Utility { public static class UtilityHelper { public static void Normalize(this RectTransform rectTransform) { rectTransform.localScale = Vector2.one; rectTransform.anchorMin = Vector2.zero; rectTransform.anchorMax = Vector2.one; rectTransform.offsetMin = Vector2.zero; rectTransform.offsetMax = Vector2.zero; } } }