Magical Box  1.15
Modular Particle Engine for Unity3D
Particle System reference

General Settings

sysgeneral.jpg
  • Name - name of the Particle system
  • AutoPlay - whether the Particle system starts playing automatically when starting the game or selecting it in the editor
  • SingleShot - whether to play once or repeat playing
  • Infinite - determines if the Particle system has a duration. Note that emitter's percentual age is fixed to 0.5 (50%) if Infinite is set.
  • Treshold - determines the initial particle buffer
  • Blocksize - the number of particles added to the buffer each time the treshold exceeds

Timing

systiming.jpg
  • Timewarp - determines the number of seconds the Particle system advances without rendering when starting to play
  • StepSize - determines the delta time used when timewarping. A value of 0.1 means that particles will be calculated every 0.1 seconds when timewarping

The timeline is used to arrange emitters within a Particle system time frame. From an emitter's point of view the following is happening when you start playing a Particle system:

  1. Begin playing (when AutoPlay is true)
  2. Wait until Delay is reached
  3. Emit particles for Duration time.
  4. Wait until particle system starts over, then start again with 1.

Using the "Auto" button trims the particle system duration to match all emitters. Using the "Max" button on an emitter row set the duration to match particle system's end time.

Statistics

sysstatistics.jpg

The data provided in the statistics tab can be valuable when optimizing your particle systems:

  • Active - number of currently active particles for the whole system and each emitter
  • Idle - number of currently idle particles
  • Max Render - Max particles rendered since the particle systems starts playing. Basically it's a good idea to have the treshold slightly higher than this value
  • Death: Age - Particles died because their age exceeds
  • Death: Color - Particles died because their colors alpha falls below 0. See Color parameters
  • Death: Size - Particles died because their size falls below 0. See Size/Size3
  • Death: Zone - Particles died because of a zone parameter. This is reserved for future updates but may be used for your own zone parameters
  • Death: User - Particles died because of a user parameter. See MBDeathReason
  • Max->Threshold - Sets the particlesystem's respective the layer's trehshold to Max Render
 All Classes Files Functions Variables Enumerations Properties Events