You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
611 B
C#
27 lines
611 B
C#
1 year ago
|
using UnityEngine;
|
||
|
using Unity.PlasticSCM.Editor.UI;
|
||
|
|
||
|
namespace Unity.PlasticSCM.Editor
|
||
|
{
|
||
|
internal static class PlasticNotification
|
||
|
{
|
||
|
internal enum Status
|
||
|
{
|
||
|
None,
|
||
|
IncomingChanges,
|
||
|
Conflicts
|
||
|
}
|
||
|
|
||
|
internal static Texture GetIcon(Status status)
|
||
|
{
|
||
|
if (status == Status.IncomingChanges)
|
||
|
return Images.GePlasticNotifyIncomingIcon();
|
||
|
|
||
|
if (status == Status.Conflicts)
|
||
|
return Images.GetPlasticNotifyConflictIcon();
|
||
|
|
||
|
return Images.GetPlasticViewIcon();
|
||
|
}
|
||
|
}
|
||
|
}
|