搭建pause和结算的UI界面,未装功能

重置gameplay的界面。
This commit is contained in:
17849571731
2025-07-11 15:39:40 +08:00
parent e8d84ec9ca
commit 450ef0f8a0
382 changed files with 99878 additions and 1262 deletions
@@ -124,6 +124,15 @@ namespace TMPro
{
if (TMP_TextUtilities.IsIntersectingRectTransform(m_TextComponent.rectTransform, Input.mousePosition, m_Camera))
{
#region Nearest Character
/*int charIndex = TMP_TextUtilities.FindNearestCharacterOnLine(m_TextComponent, Input.mousePosition, 0, m_Camera, false);
if (charIndex != -1 && charIndex != m_lastCharIndex)
{
m_lastCharIndex = charIndex;
}*/
#endregion
#region Example of Character or Sprite Selection
int charIndex = TMP_TextUtilities.FindIntersectingCharacter(m_TextComponent, Input.mousePosition, m_Camera, true);
if (charIndex != -1 && charIndex != m_lastCharIndex)