15 lines
292 B
C#
15 lines
292 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Continentis
|
|
{
|
|
public abstract class UIElementBase : MonoBehaviour
|
|
{
|
|
public RectTransform rectTransform;
|
|
|
|
protected virtual void Awake()
|
|
{
|
|
rectTransform ??= GetComponent<RectTransform>();
|
|
}
|
|
}
|
|
} |