Firstborn/Library/PackageCache/com.unity.collab-proxy@1.17.7/Editor/PlasticSCM/PlasticNotification.cs
Schaken-Mods b486678290 Library -Artifacts
Library -Artifacts
2023-03-28 12:24:16 -05: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();
}
}
}