Game/Library/PackageCache/com.unity.package-manager-ui@2.0.13/Editor/Sources/Services/OperationFactory.cs
2021-01-16 18:29:12 +01:00

25 lines
554 B
C#

namespace UnityEditor.PackageManager.UI
{
internal static class OperationFactory
{
private static IOperationFactory _instance;
public static IOperationFactory Instance
{
get {
if (_instance == null)
_instance = new UpmOperationFactory ();
return _instance;
}
internal set {
_instance = value;
}
}
internal static void Reset()
{
_instance = null;
}
}
}