playtest-unity/playtest/Library/PackageCache/com.unity.collab-proxy@2.0.4/Editor/PlasticSCM/PlasticNotification.cs

27 lines
611 B
C#
Raw Normal View History

2023-06-19 23:21:21 -04:00
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();
}
}
}