16 lines
331 B
C#
16 lines
331 B
C#
using System;
|
|
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
|
|
namespace Continentis
|
|
{
|
|
public abstract class UIElementBase : SerializedMonoBehaviour
|
|
{
|
|
public RectTransform rectTransform;
|
|
|
|
protected virtual void Awake()
|
|
{
|
|
rectTransform ??= GetComponent<RectTransform>();
|
|
}
|
|
}
|
|
} |