// Check if the object can spawn in section if it contains the indicated section or there are no sections public bool CanSpawnInSection(int section) { return(sectionList.Count() == 0 || sectionList.ContainsSection(section)); }