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