17 lines
362 B
C#
17 lines
362 B
C#
using System;
|
|
using Continentis.MainGame.UI;
|
|
using UnityEngine;
|
|
|
|
namespace Continentis
|
|
{
|
|
public abstract class UIElementBase : MonoBehaviour
|
|
{
|
|
public RectTransform rectTransform;
|
|
public InformationBox infoBox;
|
|
|
|
protected virtual void Awake()
|
|
{
|
|
rectTransform ??= GetComponent<RectTransform>();
|
|
}
|
|
}
|
|
} |