Ex0_SpawnExample Class

Ultimate Pooling

Ex0_SpawnExample Class
This class shows how to spawn and despawn prefab objects.
Inheritance Hierarchy
SystemObject  Object
    Component
      Behaviour
        MonoBehaviour
          UltimatePooling.DemoEx0_SpawnExample

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

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

The Ex0_SpawnExample type exposes the following members.

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