public void OnDisable() { SceneView.onSceneGUIDelegate = null; Debug.Log("VoxelEditor.OnDisable"); voxel.OnDisable(); }