static void UpdateSchedulers() { #pragma warning disable 612,618, 619 UpdateDataWatch(); #pragma warning restore 612,618, 619 UIEventRegistration.UpdateSchedulers(); }
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(); } }
static void UpdateSchedulers() { DataWatchService.sharedInstance.PollNativeData(); UIEventRegistration.UpdateSchedulers(); }