public static void UpdateReferences() { var scanner = new AssetScanner(); scanner.searchScenes(); scanner.searchPrefabs(); }
public static void fullMigration() { AssetScanner scanner = new AssetScanner(); /*var gos = scanner.getAllGameObjectsInScene(); foreach (var go in gos) { //Debug.Log("name:"+go.name); }*/ //scanner.searchGameObjects(scanner.getAllGameObjectsInScene()); //string activeSelectionPath = AssetDatabase.GetAssetPath(Selection.activeObject); //activeSelectionPath = "Assets/art/scenes/level_block.prefab"; //Debug.Log("Active selection path:" + activeSelectionPath); //scanner.searchPrefab(activeSelectionPath); //scanner.searchGameObjects(); //scanner.searchScenes(); scanner.searchPrefab("Assets/TransfluentTests/manualMigrationTests/GUI Text.prefab"); //scanner.searchPrefabs(); }
public static void fullMigration() { AssetScanner scanner = new AssetScanner(); /*var gos = scanner.getAllGameObjectsInScene(); * foreach (var go in gos) * { * //Debug.Log("name:"+go.name); * }*/ //scanner.searchGameObjects(scanner.getAllGameObjectsInScene()); //string activeSelectionPath = AssetDatabase.GetAssetPath(Selection.activeObject); //activeSelectionPath = "Assets/art/scenes/level_block.prefab"; //Debug.Log("Active selection path:" + activeSelectionPath); //scanner.searchPrefab(activeSelectionPath); //scanner.searchGameObjects(); //scanner.searchScenes(); scanner.searchPrefab("Assets/TransfluentTests/manualMigrationTests/GUI Text.prefab"); //scanner.searchPrefabs(); }