9092858a58
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
27 lines
611 B
C#
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();
|
|
}
|
|
}
|
|
}
|