// ... void updateCurrentParticleSystemNameText() { if (particleMode == ParticleMode.looping) { currentParticleSystemText.text = loopingParticleSystems.getCurrentPrefabName(true); } else if (particleMode == ParticleMode.oneshot) { currentParticleSystemText.text = oneshotParticleSystems.getCurrentPrefabName(true); } }
// ... void updateCurrentParticleSystemNameText() { currentParticleSystemText.text = list.getCurrentPrefabName(true); }