using System.Collections.Generic; namespace Wizard; public class TournamentRoundData { public int RoundNo; public List Cells; public List Watchs; public bool IsExtraRound; public void CollectResourcePath(ref List resourceList) { foreach (TournamentCellData cell in Cells) { cell?.CollectResourcePath(ref resourceList); } } }