Internal_IsAlive() приватный Метод

private Internal_IsAlive ( ) : bool
Результат bool
Пример #1
0
 public bool IsAlive([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];
             if (particleSystem.Internal_IsAlive())
             {
                 return(true);
             }
         }
         return(false);
     }
     return(this.Internal_IsAlive());
 }