UnityGame/Library/PackageCache/com.unity.collab-proxy/Editor/PlasticSCM/PlasticNotification.cs
2024-10-27 10:53:47 +03:00

27 lines
611 B
C#

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();
}
}
}