Click or drag to resize

PoolInstance Class

Component added to all instances so we can handle its destruction gracefully.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Kit.PoolingPoolInstance

Namespace:  Kit.Pooling
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public class PoolInstance : MonoBehaviour
Request Example View Source

The PoolInstance type exposes the following members.

Properties
  NameDescription
Public propertyIsPooled
Returns whether an instance is available or being used.
Top
Methods
  NameDescription
Public methodPool
Pool the instance.
Top
Extension Methods
  NameDescription
Public Extension MethodDestroy
Destroy the object.
(Defined by UnityObjectExtensions.)
Public Extension MethodDisable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodEnable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodGetBounds

Returns the bounds of the Component.

(Defined by ComponentExtensions.)
Public Extension MethodIsPrefab
Returns whether the Component is a part of a prefab.
(Defined by ComponentExtensions.)
Top
See Also