// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
///
/// Interface defining a migration handler, which is used to migrate assets as they
/// upgrade to new versions of MRTK.
///
public interface IMigrationHandler
{
///
/// Returns true if this migration handler can apply a migration to gameObject
///
bool CanMigrate(GameObject gameObject);
///
/// Applies migration to gameObject
///
void Migrate(GameObject gameObject);
}
}