public static void Open()
 {
     if (window == null)
     {
         window = GetWindow <InversionDependenciesGraphUI>(true, "Find This Asset In UI Prefab", true);
         if (!EditorPrefs.GetBool("first Find This Asset In UI Prefab"))
         {
             int initWidth  = 300;
             int initHeight = 600;
             int x          = (Screen.currentResolution.width - initWidth) / 2;
             int y          = (Screen.currentResolution.height - initHeight) / 2;
             window.position = new Rect(x, y, initWidth, initHeight);
             EditorPrefs.SetBool("first Find This Asset In UI Prefab", true);
         }
     }
     else
     {
         window.AnalyzeInUi();
     }
 }
 void OnDestroy()
 {
     window = null;
 }