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.

24 lines
554 B

  1. namespace UnityEditor.PackageManager.UI
  2. {
  3. internal static class OperationFactory
  4. {
  5. private static IOperationFactory _instance;
  6. public static IOperationFactory Instance
  7. {
  8. get {
  9. if (_instance == null)
  10. _instance = new UpmOperationFactory ();
  11. return _instance;
  12. }
  13. internal set {
  14. _instance = value;
  15. }
  16. }
  17. internal static void Reset()
  18. {
  19. _instance = null;
  20. }
  21. }
  22. }