static void UpdateSchedulers()
        {
#pragma warning disable 612,618, 619
            UpdateDataWatch();
#pragma warning restore 612,618, 619

            UIEventRegistration.UpdateSchedulers();
        }
示例#2
0
 static void RequestRepaintForPanels()
 {
     UIEventRegistration.RequestRepaintForPanels((obj) =>
     {
         var guiView = obj as GUIView;
         if (guiView != null)
         {
             guiView.Repaint();
         }
     });
 }
 private void DetachPreview(bool exitGUI = true)
 {
     if (Event.current != null)
     {
         Event.current.Use();
     }
     m_PreviewWindow = CreateInstance(typeof(PreviewWindow)) as PreviewWindow;
     m_PreviewWindow.SetParentInspector(this);
     m_PreviewWindow.Show();
     Repaint();
     UIEventRegistration.MakeCurrentIMGUIContainerDirty();
     if (exitGUI)
     {
         GUIUtility.ExitGUI();
     }
 }
示例#4
0
        static void UpdateSchedulers()
        {
            DataWatchService.sharedInstance.PollNativeData();

            UIEventRegistration.UpdateSchedulers();
        }