public void OnDestroy()
{
EditorApplication.hierarchyWindowItemOnGUI -= OnHierarchyWindowItemDraw;
EditorApplication.update -= BackgroundSceneChangeWatch;
EditorApplication.hierarchyWindowChanged -= OnHierarchyChangeUpdate;
EditorApplication.playmodeStateChanged -= OnPlaymodeStateChanged;
TestComponent.DestroyAllDynamicTests();
}