기술 자료

Unity Engine

Unity Engine

Dispose()

Disposes of the native memory allocated by the collection.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public void Dispose()

Remarks

If the ColliderArray2D.Length is zero, calling Dispose is optional as no memory would have been allocated in that case.