Interface IMigrationHandler
Interface defining a migration handler, which is used to migrate assets as they upgrade to new versions of MRTK.
Namespace: Microsoft.MixedReality.Toolkit.Experimental.Utilities
Assembly: cs.temp.dll.dll
Syntax
public interface IMigrationHandler
Methods
CanMigrate(GameObject)
Returns true if this migration handler can apply a migration to gameObject
Declaration
bool CanMigrate(GameObject gameObject)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject |
Returns
Type | Description |
---|---|
Boolean |
Migrate(GameObject)
Applies migration to gameObject
Declaration
void Migrate(GameObject gameObject)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject |