public void OnLevelUnloading()
 {
     ui.DestroyView();
     toolMode     = ToolMode.None;
     loadingLevel = true;
 }