// ...

                void updateCurrentParticleSystemNameText()
                {
                    if (currentParticleSystemText)
                    {
                        currentParticleSystemText.text = list.GetCurrentPrefabName(true);
                    }
                }
Esempio n. 2
0
                // ...

                void UpdateCurrentParticleSystemNameText()
                {
                    if (particleMode == ParticleMode.looping)
                    {
                        currentParticleSystemText.text = loopingParticleSystems.GetCurrentPrefabName(true);
                    }
                    else if (particleMode == ParticleMode.oneshot)
                    {
                        currentParticleSystemText.text = oneshotParticleSystems.GetCurrentPrefabName(true);
                    }
                }