Ejemplo n.º 1
0
    static void FindObjectReferences()
    {
        //Show existing window instance. If one doesn't exist, make one.
        ReferenceFinder window = EditorWindow.GetWindow <ReferenceFinder>(true, "Find References", true);

        window.FindObjectReferences(Selection.activeObject);
    }