Files
Test-Multiplayer/Library/PackageCache/com.unity.collab-proxy@1e5e48aff19d/Editor/UVCSToolbar/UVCSToolbarButtonData.cs
pelpanagiotis 329b7d3183 First Commit
2025-12-21 18:31:02 +02:00

27 lines
822 B
C#

using UnityEngine;
using PlasticGui;
using Unity.PlasticSCM.Editor.UI;
namespace Unity.PlasticSCM.Editor.Toolbar
{
internal class UVCSToolbarButtonData
{
internal bool IsVisible { get; set; }
internal string Text { get; set; }
internal string Tooltip { get; set; }
internal Texture Icon { get; set; }
internal static UVCSToolbarButtonData BuildDefault()
{
return new UVCSToolbarButtonData
{
Text = PlasticLocalization.Name.UnityVersionControl.GetString(),
Tooltip = PlasticLocalization.Name.UseUnityVersionControlToManageYourProject.GetString(),
Icon = Images.GetPlasticViewIcon(),
IsVisible = UVCSToolbarButtonIsShownPreference.IsEnabled(),
};
}
}
}