기술 자료

Unity Engine

Unity Engine

Clear()

Removes all pooled items and invokes the pool's action on destroy callback for each item in the pool.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public void Clear()

Remarks

The action on destroy callback is the delegate passed to the constructor as the optional
actionOnDestroy
parameter.