destroyCancellationToken
Cancellation token raised when the MonoBehaviour is destroyed (Read Only).
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public CancellationToken destroyCancellationToken { get; }
Remarks
Note: You must cache the before you destroy the MonoBehaviour object.
destroyCancellationToken