기술 자료

Unity Engine

Unity Engine

Release(TCollection)

Returns the instance back to the pool.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

Release(T)

public static void Release(TCollection toRelease)

Parameters

toRelease

T
The instance to return to the pool.

Remarks

If the pool has collection checks enabled and the instance is already held by the pool then an exception will be thrown.