ドキュメント

Unity Engine

Unity Engine

destroyCancellationToken

Cancellation token raised when the MonoBehaviour is destroyed (Read Only).
読み終わるまでの所要時間 1 分最終更新 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.