コード例 #1
0
 private void OnOnScreenDebugClosed(MDScreen Screen)
 {
     if (OnScreenDebug == Screen)
     {
         OnScreenDebug.OnScreenClosed -= OnOnScreenDebugClosed;
         OnScreenDebug = null;
     }
 }
コード例 #2
0
 private void ToggleOnScreenDebug()
 {
     if (OnScreenDebug == null)
     {
         OnScreenDebug = OpenScreen <MDDebugScreen>(OnScreenDebugName, MDScreenLayer.Debug);
         OnScreenDebug.OnScreenClosed += OnOnScreenDebugClosed;
     }
     else
     {
         OnScreenDebug.CloseScreen();
     }
 }