/// <summary>
 /// Starts editing a given editor scene
 /// </summary>
 /// <param name="scene">Scene to edit</param>
 public void OpenScene( Scene scene )
 {
     if ( ( m_CurrentSceneEditState != null ) && ( SceneClosed != null ) )
     {
         SceneClosed( m_CurrentSceneEditState );
     }
     m_CurrentSceneEditState = new SceneEditState( scene );
     if ( SceneOpened != null )
     {
         SceneOpened( m_CurrentSceneEditState );
     }
 }
 /// <summary>
 /// Called when a new scene is opened
 /// </summary>
 /// <param name="state">Opened scene's edit state</param>
 private void OnSceneOpened( SceneEditState state )
 {
     state.SelectedObjects.ObjectSelected += SelectionChanged;
     state.SelectedObjects.ObjectSelected += SelectionChanged;
 }