コード例 #1
0
 void ExecuteProcessors()
 {
     if (enableParticleHitHandler && particleProcessor != null)
     {
         particleProcessor(this, MPAPI.mpGetNumParticles(), MPAPI.mpGetParticles());
     }
     if (enableGatheredHitHandler && gatheredHitProcessor != null)
     {
         gatheredHitProcessor(this, MPAPI.mpGetNumHitData(), MPAPI.mpGetHitData());
     }
 }