2025-10-03 00:02:43 -04:00
|
|
|
using System;
|
2025-12-10 18:22:26 -05:00
|
|
|
using Continentis.MainGame.UI;
|
2025-10-03 00:02:43 -04:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Continentis
|
|
|
|
|
{
|
2025-10-23 00:49:44 -04:00
|
|
|
public abstract class UIElementBase : MonoBehaviour
|
2025-10-03 00:02:43 -04:00
|
|
|
{
|
|
|
|
|
public RectTransform rectTransform;
|
2025-12-10 18:22:26 -05:00
|
|
|
public InformationBox infoBox;
|
2025-10-03 00:02:43 -04:00
|
|
|
|
|
|
|
|
protected virtual void Awake()
|
|
|
|
|
{
|
|
|
|
|
rectTransform ??= GetComponent<RectTransform>();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|