// Set name to be displayed as the title of the EntityStats panel public void SetDisplayEntity(EntityType type) { nameText.text = EntityUtils.GetDisplayName(type); nameTooltip.SetText(EntityUtils.GetDisplayDesc(type)); }
public override string ToString() { return(unit ? EntityUtils.GetDisplayName(unit.Type) : position.ToString()); }