using System.Collections.Generic; namespace Wizard; public class TournamentData { public List Rounds; public void CollectResourcePath(ref List resourceList) { foreach (TournamentRoundData round in Rounds) { round.CollectResourcePath(ref resourceList); } } }