void ExecuteProcessors() { if (enableParticleHitHandler && particleProcessor != null) { particleProcessor(this, MPAPI.mpGetNumParticles(), MPAPI.mpGetParticles()); } if (enableGatheredHitHandler && gatheredHitProcessor != null) { gatheredHitProcessor(this, MPAPI.mpGetNumHitData(), MPAPI.mpGetHitData()); } }