You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
617 B
21 lines
617 B
using System;
|
|
|
|
namespace UnityEngine.Rendering.HighDefinition
|
|
{
|
|
/// <summary>Implement this interface to use with <see cref="MigrationDescription{TVersion, TTarget}"/></summary>
|
|
/// <typeparam name="TVersion">An enum to use to describe the version.</typeparam>
|
|
public interface IVersionable<TVersion>
|
|
where TVersion : struct, IConvertible
|
|
{
|
|
/// <summary>Accessors to the current version of the instance.</summary>
|
|
TVersion version { get; set; }
|
|
}
|
|
|
|
interface IMigratableAsset
|
|
{
|
|
#if UNITY_EDITOR
|
|
bool Migrate();
|
|
bool IsAtLastVersion();
|
|
#endif
|
|
}
|
|
}
|