VR4Medical/ICI/Library/PackageCache/com.unity.collab-proxy@c854d1f7d97f/Editor/UI/StatusBar/GUIContentNotification.cs
2025-07-29 13:45:50 +03:00

24 lines
577 B
C#

using UnityEngine;
namespace Unity.PlasticSCM.Editor.UI.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;
}
}