Esempio n. 1
0
                // ...

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

                void updateCurrentParticleSystemNameText()
                {
                    currentParticleSystemText.text = list.getCurrentPrefabName(true);
                }