PooledGUIContent.

PooledGUIContent.Pool Class

Summary

An Animancer.ObjectPool`1 for Animancer.Editor.PooledGUIContent.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Base Types
graph BT Type-->Base0["ObjectPool<PooledGUIContent>"] Base0-->Base1["Object"] Type["PooledGUIContent.Pool"] class Type type-node

Syntax

public class PooledGUIContent.Pool : ObjectPool<PooledGUIContent>

Fields

Name Constant Value Summary
Instance
Singleton instance.
static

Methods

Name Value Summary
Acquire() PooledGUIContent
Returns a spare item if there are any, or creates a new one.
New() PooledGUIContent
Creates a new() instance of T.
Release(PooledGUIContent) void
Adds the `item` to the list of spares so it can be reused.