예제 #1
0
파일: BasicDemo.cs 프로젝트: diqost/bullet
        public override void DestroyScene()
        {
            base.DestroyScene();

            physics.ExitPhysics();

            textInputHandler.MessageReceived -= textInputHandler_MessageReceived;
            if (textInputHandler != null)
            {
                textInputHandler.Dispose();
            }

            if (sceneMgr != null)
            {
                sceneMgr.ClearScene();
            }

            if (Root.Singleton != null)
            {
                Root.Singleton.Dispose();
            }
        }
예제 #2
0
 protected override void OnUnload(System.EventArgs e)
 {
     physics.ExitPhysics();
     base.OnUnload(e);
 }
예제 #3
0
 protected override void EndRun()
 {
     physics.ExitPhysics();
     base.EndRun();
 }