Click or drag to resize
Options Class
Defines the behaviour of a pool.
Inheritance Hierarchy
SystemObject
  WowSuch.ObjectPoolingOptions

Namespace: WowSuch.ObjectPooling
Assembly: WowSuch.ObjectPooling (in WowSuch.ObjectPooling.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public sealed class Options

The Options type exposes the following members.

Constructors
  NameDescription
Public methodOptions
Creates a new Options object with some default parameters.
Public methodOptions(Options)
Creates a new Options object with same parameters as 'other'.
Public methodOptions(OverflowType, LevelLoadAction, Int32)
Creates a new Options objects with the specified parameters. methodCallingType will be set to Standard.
Public methodOptions(OverflowType, LevelLoadAction, Int32, String, String, String)
Creates a new Options object with the specified parameters. methodCallingType will be set to Custom.
Top
Properties
  NameDescription
Public propertyawakeMethodName
The method name used when methodCallingType is set to Custom, otherwise "Start".
Public propertylevelLoadAction
The LevelLoadAction for this pool.
Public propertymethodCallingType
The MethodCallingType for this pool.
Public propertyonDestroyMethodName
The method name used when methodCallingType is set to Custom, otherwise "OnDestroy".
Public propertyoverflowType
The OverflowType for this pool.
Public propertysize
The size of the pool.
Public propertystartMethodName
The method name used when methodCallingType is set to Custom, otherwise "Awake".
Top
See Also