UnityEngine.ParticleSystem.Internal_Stop C# (CSharp) Method

Internal_Stop() private method

private Internal_Stop ( ) : void
return void
        private extern void Internal_Stop();
        [ExcludeFromDocs]

Usage Example

コード例 #1
0
 public void Stop([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_Stop();
         }
     }
     else
     {
         this.Internal_Stop();
     }
 }