EnemyBasedColors

This will update the list of images and texts to match the color of the team this object is on. The color the team will be is decided by what you select in the inspector. These colors will be compared against the local clients team to decide if they're friendly or an enemy.

Public Virtual Methods

Method Description
void TeamChanged(string newTeamName) Calls UpdateColors
void UpdateColors() Updates the colors of the texts and images based on if this object is an enemy or a friend to the local clients players team