Пример #1
0
 static void FindObjects()
 {
     if (null != Selection.activeObject)
     {
         FindReferences window = GetWindow <FindReferences>();
         window.Show();
         window.title          = "Find References";
         window.selectedObject = Selection.activeObject;
         SetReferenceList();
     }
 }
Пример #2
0
 static private void OutputUnuse(Dictionary <string, System.Collections.Generic.List <string> > refDic)
 {
     if (showWin)
     {
         FindReferences window = (FindReferences)EditorWindow.GetWindow(typeof(FindReferences));
         window.Show();
     }
     else
     {
         OutputToExcel();
     }
 }
Пример #3
0
 private void findReferences_Click(object sender, EventArgs e)
 {
     if (findReferencesForm == null)
     {
         findReferencesForm       = new FindReferences(new FindReferencesFunction(FindReferences), null);
         findReferencesForm.Owner = this;
     }
     else
     {
         findReferencesForm.Reload();
     }
     findReferencesForm.Show();
 }