Practice_Unity/Library/PackageCache/com.unity.collab-proxy@ab839cc7d2ad/Editor/StatusBar/GUIContentNotification.cs
2025-09-16 17:30:13 +09:00

26 lines
609 B
C#

using UnityEngine;
using Unity.PlasticSCM.Editor.UI;
namespace Unity.PlasticSCM.Editor.StatusBar
{
internal class GUIContentNotification : INotificationContent
{
internal GUIContentNotification(string content) : this(new GUIContent(content)) { }
internal GUIContentNotification(GUIContent content)
{
mGUIContent = content;
}
void INotificationContent.OnGUI()
{
GUILayout.Label(
mGUIContent,
UnityStyles.StatusBar.NotificationLabel);
}
readonly GUIContent mGUIContent;
}
}