Summary
[Editor-Only]
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, SerializedProperty property, bool narrowText = true)
Parameters
Name | Type | Description |
---|---|---|
content | GUIContent | |
property | SerializedProperty | |
narrowText | bool |
Return Value
Type | Description |
---|---|
ObjectPool |