Click or drag to resize

GObjectPool Class

GObjectPool is use for GObject pooling.
Inheritance Hierarchy
SystemObject
  FairyGUIGObjectPool

Namespace:  FairyGUI
Assembly:  FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class GObjectPool

The GObjectPool type exposes the following members.

Constructors
  NameDescription
Public methodGObjectPool
需要设置一个manager,加入池里的对象都成为这个manager的孩子
Top
Properties
  NameDescription
Public propertycount
Top
Methods
  NameDescription
Public methodClear
Dispose all objects in the pool.
Public methodGetObject
Public methodReturnObject
Top
Fields
  NameDescription
Public fieldinitCallback
Callback function when a new object is creating.
Top
See Also