示例#1
0
        private IEnumerator <IPhotonNode> GetParticles(IPlasma <IPhotonNode> plasma)
        {
            IPhotonPlasma photonPlasma = plasma as IPhotonPlasma;

            if (photonPlasma != null)
            {
                return(photonPlasma.VisibleParticles);
            }
            return(plasma.GetEnumerator());
        }
示例#2
0
 protected virtual IEnumerator <T> GetParticles(IPlasma <T> plasma)
 {
     return(plasma.GetEnumerator());
 }