기술 자료

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분최근 업데이트: 한 달 전

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