Click or drag to resize

PoolableParticleSystem Class

[This is preliminary documentation and is subject to change.]

A component that allows pooling of multiple associated ParticleSystem components.
Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Umbrace.Unity.PurePoolPoolableParticleSystem

Namespace:  Umbrace.Unity.PurePool
Assembly:  Umbrace.Unity.PurePool (in Umbrace.Unity.PurePool.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
[DisallowMultipleComponent]
[RequireComponent(typeof(ParticleSystem))]
public class PoolableParticleSystem : MonoBehaviour, 
	IPoolable, IEventSystemHandler

The PoolableParticleSystem type exposes the following members.

Constructors
  NameDescription
Public methodPoolableParticleSystem
Initializes a new instance of the PoolableParticleSystem class
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldAutoReleaseWhenDone
A value indicating whether to release the GameObject this component is attached to when the particle system is done.
Public fieldClearOnRelease
A value indicating whether to remove all particles in the particle systems when the instance is released to the pool.
Public fieldPlayOnAcquire
A value indicating whether to set the particle systems into play mode and enable emitting when the instance is acquired from the pool.
Top
See Also