MonoBehaviour-OnDestroy() - Unity スクリプトリファレンス
Destroying the attached Behaviour will result in the game or Scene receiving OnDestroy.