public override IEnumerator <ProbabilityItem <T> > GetEnumerator() { if (curLevel != -1) { return(currentPool.GetEnumerator()); } else { return(prototypePool.Cast <ProbabilityItem <T> >().GetEnumerator()); } }
public override IEnumerator <ProbabilityItem <T> > GetEnumerator() { return(_pool.GetEnumerator()); }