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