Internal_Clear() private method

private Internal_Clear ( ) : void
return void
示例#1
0
 public void Clear([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_Clear();
         }
     }
     else
     {
         this.Internal_Clear();
     }
 }