Ex5_DestroyPoolExample Class

Ultimate Pooling

Ex5_DestroyPoolExample Class
This example shows how to destory a pool at runtime. Note that all pooled iters are destroyed but all items spawnd by this pool will remain in the scene.
Inheritance Hierarchy
SystemObject  Object
    Component
      Behaviour
        MonoBehaviour
          UltimatePooling.DemoEx5_DestroyPoolExample

Namespace: UltimatePooling.Demo
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class Ex5_DestroyPoolExample : MonoBehaviour
UltimatePooling.Demo.Ex5_DestroyPoolExample = function();

Type.createClass(
	'UltimatePooling.Demo.Ex5_DestroyPoolExample',
	UnityEngine.MonoBehaviour);

The Ex5_DestroyPoolExample type exposes the following members.

Constructors
  NameDescription
Public methodEx5_DestroyPoolExample
Initializes a new instance of the Ex5_DestroyPoolExample class
Top
Fields
  NameDescription
Public fieldprefab
The prefab we want to spawn - Assigned in the editor inspector.
Top
See Also