using System.Collections; using System.Collections.Generic; using UnityEngine; public class UIPage : MonoBehaviour { public virtual void Awake() { RectTransform rtf = gameObject.GetComponent(); rtf.anchoredPosition = Vector2.zero; } }