Class ObjectPool<TObject>
Namespace: Unity.UIWidgets.ui
Syntax
public static class ObjectPool<TObject>
where TObject : PoolObject, new()
Type Parameters
| Name | Description |
|---|---|
| TObject |
Properties
debugKey
Declaration
public static int debugKey { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
debugName
Declaration
public static string debugName { get; }
Property Value
| Type | Description |
|---|---|
| String |
Methods
alloc()
Declaration
public static TObject alloc()
Returns
| Type | Description |
|---|---|
| TObject |
release(TObject)
Declaration
public static void release(TObject obj)
Parameters
| Type | Name | Description |
|---|---|---|
| TObject | obj |