Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach (GameObject red in PlayerRoster) {
- if(red.GetComponent<PlayerId>().team == PlayerId.Teams.TeamRed)
- {
- //idk how lists work in c# but something like RedTeamList.append(red)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement