Skip to main content

CCObjectPool<T>

CCObjectPool

Cocos2D

Inheritance: System.Object

Constructors

CCObjectPool(CCNode, int)

CCObjectPool(CCNode, int)(Cocos2D.CCNode parent, System.Int32 initialSize)
Parameters:
parent (Cocos2D.CCNode)
initialSize (System.Int32)

Properties

ActiveCount(System.Int32)
AvailableCount(System.Int32)

Methods

ForEachActive(Action)

ForEachActive(Action)(System.ActionT action)
Parameters:
action (System.ActionT)

Get()

T Get()()
Returns:
T

Return(T)

Return(T)(T obj)
Parameters:
obj (T)

ReturnAll()

ReturnAll()()