This version of Unity is unsupported.

CameraEditor.OnDestroy

public void OnDestroy();

Description

See ScriptableObject.OnDestroy.