Internal_Play() private method

private Internal_Play ( ) : void
return void
Exemplo n.º 1
0
 public void Play([DefaultValue("true")] bool withChildren)
 {
     if (withChildren)
     {
         ParticleSystem[] particleSystems = ParticleSystem.GetParticleSystems(this);
         ParticleSystem[] array           = particleSystems;
         for (int i = 0; i < array.Length; i++)
         {
             ParticleSystem particleSystem = array[i];
             particleSystem.Internal_Play();
         }
     }
     else
     {
         this.Internal_Play();
     }
 }