Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PooledObject<T0> Constructor

Declaration

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

Parameters

value Object to manage
pool Pool owning the object

Description

Initializes the pooled object with a managed object and specifies the pool to which the instance is returned.