player movement

This commit is contained in:
reisenlol 2026-01-04 01:44:17 -08:00
parent 01a1278465
commit 46d2b7bc95
No known key found for this signature in database
18 changed files with 1415 additions and 34 deletions

View file

@ -0,0 +1,22 @@
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);
}
}