UnityEngine.ParticleSystem.Internal_IsAlive C# (CSharp) Method

Internal_IsAlive() private method

private Internal_IsAlive ( ) : bool
return bool
        private extern bool Internal_IsAlive();
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]

Usage Example

コード例 #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());
 }