Click or drag to resize
LevelLoadAction Enumeration
Defines how a pool will behave when a new level is loaded.

Namespace: WowSuch.ObjectPooling
Assembly: WowSuch.ObjectPooling (in WowSuch.ObjectPooling.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public enum LevelLoadAction
Members
  Member nameValueDescription
Nothing0The pool and all its GameObjects will persist through level changes. GameObjects in the pool will retain their active state.
DestroyPool1The pool and all its GameObjects will be destroyed when a new level is loaded.
ReturnObjects2The pool and all its GameObjects will persist through level changes. GameObjects in the pool will be returned to the pool.
See Also