Esempio n. 1
0
 static void FindObjects()
 {
     if (null != Selection.activeObject)
     {
         FindReferences window = GetWindow <FindReferences>();
         window.Show();
         window.title          = "Find References";
         window.selectedObject = Selection.activeObject;
         SetReferenceList();
     }
 }
Esempio n. 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();
     }
 }
Esempio n. 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();
 }