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
.Disposable
Syntax
public static ObjectPool<GUIContent>.Disposable AcquireContent(out GUIContent content, string text = null, string tooltip = null, bool narrowText = true)
Parameters
| Name | Type | Description |
|---|---|---|
| content | GUIContent | |
| text | string | |
| tooltip | string | |
| narrowText | bool |
Return Value
| Type | Description |
|---|---|
| ObjectPool |