MonoBehaviour.destroyCancellationToken

Switch to Manual
public CancellationToken destroyCancellationToken;

Description

Cancellation token raised when the MonoBehaviour is destroyed (Read Only).

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


Did you find this page useful? Please give it a rating: