IReadOnlyList<string> Returns the array of assigned tags
Returns the tag(s) assigned to the currently running player. This property is read-only and should be used to access the tags without modifying them.
void Update() { if (CurrentPlayer.Tags.Contains("YellowTeam")) { ... } }