15 lines
281 B
C#
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;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|