Пример #1
0
        private void FindCurrentScene()
        {
            var checkList = SceneManager.GetActiveScene().GetRootGameObjects();

            var resultList = EditorAssetHelper.FindMissingReferences(checkList.Select(o => o as Object).ToList());

            SelectingEditorWindow.Show(resultList);
        }
Пример #2
0
        private void FindAllAssets()
        {
            var checkList =
                AssetDatabase.GetAllAssetPaths()
                .Select(s => AssetDatabase.LoadMainAssetAtPath(s));

            var resultList = EditorAssetHelper.FindMissingReferences(checkList.ToList());

            SelectingEditorWindow.Show(resultList);
        }