MigrationTool Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This tool allows the migration of obsolete components into up-to-date versions. In order to be processed by the migration tool, deprecated components require specific implementation of the IMigrationHandler
public ref class MigrationTool
public class MigrationTool
type MigrationTool = class
Public Class MigrationTool
- Inheritance
-
MigrationTool
Migration |
Returns a copy of all loadable implementation types of IMigrationHandler |
Migration |
Returns a copy of all game objects, prefabs and scene assets selected for migration and their migration status |
Migration |
Current migration process state of the tool |
Clear |
Clears list of objects to be migrated |
Draw |
Util method to draw a deprecated warning for a given component in the inspector as well as a button to migrate / trigger the migration tool to upgrade to the new version via the indicated migration handler. |
Migrate |
Migrates all objects from list of objects to be migrated using the selected IMigrationHandler implementation. |
Remove |
Removes object from the list of objects to migrated |
Try |
Adds selectedObject to the list of objects to be migrated. Return false if the object is not of type GameObject, or SceneAsset. |
Try |
Adds all prefabs and scene assets found on the assets folder to the list of objects to be migrated |
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |