UnityEngine.ParticleSystem.Internal_Pause C# (CSharp) Method

Internal_Pause() private method

private Internal_Pause ( ) : void
return void
        private extern void Internal_Pause();
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]

Usage Example

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