16 lines
359 B
C#
16 lines
359 B
C#
using UnityEngine;
|
|
using UnityEngine.UIElements;
|
|
|
|
public class MapElement : MonoBehaviour, IMapElement
|
|
{
|
|
[SerializeField]
|
|
private MapElementSO _elementSO;
|
|
public MapElementSO ElementSO => _elementSO;
|
|
public bool IsEnabled { get; set; } = true;
|
|
|
|
public Transform GlobalTransform { get; set; }
|
|
|
|
public virtual void Hit()
|
|
{
|
|
}
|
|
} |