ドキュメント

Unity Engine

Unity Engine

PooledObject(T, IObjectPool<T>)

Initializes the pooled object with a managed object and specifies the pool to which the instance is returned.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Constructor
  • Namespace: UnityEngine.Pool
  • Assembly: UnityEngine.CoreModule
public PooledObject(T value, IObjectPool<T> pool)

Parameters

value

T
Object to manage

Pool owning the object