Files
TowerDefence/My project/Library/PackageCache/com.unity.collab-proxy@3351acaba9c9/Editor/StatusBar/GUIContentNotification.cs
Caleb Sandford deQuincey 334021d04e Started project
2025-11-14 17:30:41 +00: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;
}
}