22 lines
496 B
C#
22 lines
496 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class TileObject : MonoBehaviour
|
|
{
|
|
[SerializeField] private GameObject highlight;
|
|
public List<TileObject> neighbors = new();
|
|
public SpriteRenderer sprite;
|
|
[Header("Status")]
|
|
public bool blocked = false;
|
|
public bool hasUnit = false;
|
|
private void OnMouseEnter()
|
|
{
|
|
//highlight.SetActive(true);
|
|
}
|
|
|
|
private void OnMouseExit()
|
|
{
|
|
//highlight.SetActive(false);
|
|
}
|
|
}
|