Adaug proiectul Unity

This commit is contained in:
2026-11-01 23:39:55 +02:00
parent cb14d9d37d
commit 863eac8f2c
23463 changed files with 5412601 additions and 0 deletions
@@ -0,0 +1,26 @@
using UnityEngine.UIElements;
namespace Unity.PlasticSCM.Editor.Diff
{
internal static class EditedTextBlockMarker
{
internal static void AddMark(Label title)
{
if (title.text.EndsWith(EDITED_MARK))
return;
title.text += EDITED_MARK;
}
internal static void RemoveMark(Label title)
{
if (!title.text.EndsWith(EDITED_MARK))
return;
title.text = title.text.Substring(
0, title.text.Length - EDITED_MARK.Length);
}
const string EDITED_MARK = " *";
}
}