기술 자료

Unity Engine

Unity Engine

destroyCancellationToken

Cancellation token raised when the MonoBehaviour is destroyed (Read Only).
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public CancellationToken destroyCancellationToken { get; }

Remarks

Note: You must cache the
destroyCancellationToken
before you destroy the MonoBehaviour object.