No Description
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.

PlasticNotification.cs 611B

1234567891011121314151617181920212223242526
  1. using UnityEngine;
  2. using Unity.PlasticSCM.Editor.UI;
  3. namespace Unity.PlasticSCM.Editor
  4. {
  5. internal static class PlasticNotification
  6. {
  7. internal enum Status
  8. {
  9. None,
  10. IncomingChanges,
  11. Conflicts
  12. }
  13. internal static Texture GetIcon(Status status)
  14. {
  15. if (status == Status.IncomingChanges)
  16. return Images.GePlasticNotifyIncomingIcon();
  17. if (status == Status.Conflicts)
  18. return Images.GetPlasticNotifyConflictIcon();
  19. return Images.GetPlasticViewIcon();
  20. }
  21. }
  22. }