Files
Test-Multiplayer/Library/PackageCache/com.unity.collab-proxy@1e5e48aff19d/Editor/StatusBar/GUIContentNotification.cs
pelpanagiotis 329b7d3183 First Commit
2025-12-21 18:31:02 +02: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;
}
}