void Awake() { m_HomePosition = transform.position; SetTeamColor(Team); if (Team == Team.Blue) { BlueFlag = this; } else { RedFlag = this; } }
void Awake() { m_HomePosition = transform.position; SetTeamColor( Team ); if( Team == Team.Blue ) { BlueFlag = this; } else { RedFlag = this; } }