Summary
Creates a new
Animancer.ObjectPool`1.Disposable
and calls Animancer.ObjectPool`1.Acquire
to set the Animancer.ObjectPool`1.Disposable.Item
and `item`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- ObjectPool
<T> .Disposable
Syntax
public Disposable(ObjectPool<T> pool, out T item)
Parameters
Name | Type | Description |
---|---|---|
pool | ObjectPool |
|
item | T |
Return Value
Type | Description |
---|---|
void |