using System.Collections.Generic;
namespace UnityEditor.PackageManager.UI
{
///
/// Package Manager UI Extensions
///
public static class PackageManagerExtensions
{
internal static List Extensions { get { return extensions ?? (extensions = new List()); } }
private static List extensions;
///
/// Registers a new Package Manager UI extension
///
/// A Package Manager UI extension
public static void RegisterExtension(IPackageManagerExtension extension)
{
if (extension == null)
return;
Extensions.Add(extension);
}
}
}