コード例 #1
0
			public static void UpdateReferences()
			{
				var scanner = new AssetScanner();
				scanner.searchScenes();

				scanner.searchPrefabs();
			}
コード例 #2
0
            public static void UpdateReferences()
            {
                var scanner = new AssetScanner();

                scanner.searchScenes();

                scanner.searchPrefabs();
            }
コード例 #3
0
        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();
        }
コード例 #4
0
        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();
        }