Felix Boucher 27d329df71 fix unit cost not working anymore
turns out it was an inheritance problem
2024-01-25 14:45:50 -05:00

11 lines
283 B
C#

using UnityEngine;
public class TilePlaceholder : UnitPlaceholder
{
public LevelTile Tile { get; set; }
public override void Place()
{
base.Place();
LevelManager.Instance.DynamicTilemap.SetTile(Vector3Int.RoundToInt(transform.position), Tile);
}
}