AkiraPixelWind/Assets/Scripts/Main/UI/UIYYControl/UIPage.cs
2022-12-29 18:20:40 +08:00

15 lines
281 B
C#

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