Hi,
After killing an enemy, his square continues to appear as a valid target for a second shot until you change action or character. Did I miss something?
Thanks.
Hi,
After killing an enemy, his square continues to appear as a valid target for a second shot until you change action or character. Did I miss something?
@CodeMonkey had a quick answer to this on this post
You can fix it by adding an event listener in the GridSystemVisual.cs
script
private void Start()
{
/*
other code in here
*/
Unit.OnAnyUnitDied += Unit_OnAnyUnitDied;
}
private void Unit_OnAnyUnitDied(object sender, EventArgs e)
{
UpdateGridVisual();
}
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.