public void Update()
{
if (IsSelected) // Check if current hero is the one the player has currently selected
{
RunAroundInArea();
}
else
{
Follow(SelectedHero);
}
}
public void Update()
{
if (IsSelected) // Check if current hero is the one the player has currently selected
{
RunAroundInArea();
}
else
{
Follow(SelectedHero);
}
}