public void SetTeam(TeamTag tag) { SoldierInterface.Tag = tag; transform.parent.gameObject.tag = tag.ToString(); SelectInterface.ChangeColor(SoldierInterface.Tag); targetContrl = null; enemyTeamTag = SoldierInterface.Tag == TeamTag.BadGuy ? TeamTag.GoodGuy : TeamTag.BadGuy; }