搭建pause和结算的UI界面,未装功能
重置gameplay的界面。
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user