Documentation

Unity Engine

Download Unity

Unity Engine

PooledObject(T, IObjectPool<T>)

Initializes the pooled object with a managed object and specifies the pool to which the instance is returned.
Read time 1 minuteLast updated 5 hours ago

Definition

public PooledObject(T value, IObjectPool<T> pool)

Parameters

value

T
Object to manage

Pool owning the object