private void ListDependencies()
    {
        if (_foundedDependencies.Count < 1)
        {
            return;
        }

        ShowPages();

        _currentScroll = EditorGUILayout.BeginScrollView(_currentScroll);

        for (int i = _currentPage * _pageSize; i < (_currentPage + 1) * _pageSize; i++)
        {
            if (i >= _foundedDependencies.Count || i < 0)
            {
                break;
            }

            EditorGUILayout.BeginHorizontal();
            EditorGUILayout.LabelField(_foundedDependencies[i].size, GUILayout.MaxWidth(60f));
            EditorGUILayout.ObjectField(_foundedDependencies[i].obj, typeof(UnityEngine.Object), true);
            if (GUILayout.Button("Refs", GUILayout.Width(40f)))
            {
                SearchReferences.UpdateReferences(_foundedDependencies[i].obj, _foundedDependencies[i].metaPath);
            }
            EditorGUILayout.EndHorizontal();
        }

        EditorGUILayout.EndScrollView();
    }
    private static SearchReferences InitWindow()
    {
        SearchReferences window = (SearchReferences)EditorWindow.GetWindow(typeof(SearchReferences));

        window.Show();

        return(window);
    }
 public static void GetWindow()
 {
     if (instance != null)
     {
         return;
     }
     instance = InitWindow();
 }