기술 자료

Unity Engine

Unity Engine

Destroy()

Destroys this instance of a subsystem.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.SubsystemsModule
public void Destroy()

Remarks

Also unloads all resources acquired during initialization step. Should be called when this instance of a subsystem is no longer needed.
Note: Once a Subsystem is Destroyed, script can still hold a reference but calling a method on it will result in a NullArgumentException.