void sceneController_OnSceneUnloading(SceneController controller, Engine.ObjectManagement.SimScene scene)
 {
     if (debugSurface != null)
     {
         renderer.destroyDebugDrawingSurface(debugSurface);
     }
 }
Esempio n. 2
0
 private void destroyDrawingSurface()
 {
     if (drawingSurface != null)
     {
         rendererPlugin.destroyDebugDrawingSurface(drawingSurface);
         drawingSurface = null;
     }
 }
 public void destroyDebugInterface(RendererPlugin rendererPlugin, SimSubScene subScene)
 {
     if (drawingSurface != null)
     {
         rendererPlugin.destroyDebugDrawingSurface(drawingSurface);
         drawingSurface = null;
     }
 }