Internal_Simulate() private method

private Internal_Simulate ( float t, bool restart ) : void
t float
restart bool
return void
Esempio n. 1
0
 public void Simulate(float t, [DefaultValue("true")] bool withChildren, [DefaultValue("true")] bool restart)
 {
     if (withChildren)
     {
         ParticleSystem[] particleSystems = ParticleSystem.GetParticleSystems(this);
         ParticleSystem[] array           = particleSystems;
         for (int i = 0; i < array.Length; i++)
         {
             ParticleSystem particleSystem = array[i];
             particleSystem.Internal_Simulate(t, restart);
         }
     }
     else
     {
         this.Internal_Simulate(t, restart);
     }
 }