Team Leaderboard

Great lecture! Only change I made was to go back to the ScriptableObject TeamColorLookup and change the name to TeamDataLookup. Then I just added an array of TeamNames to keep with the TeamColors. It felt strange having the colors in one place an the names in another. This way we can keep them together. Then I just set up a public GetTeamNames method which returns the array.

Just thought I’d share.

Tanks! (haha, had to do it once!)


Privacy & Terms