modify scripts

This commit is contained in:
2025-10-17 10:59:23 +08:00
parent 9336ed0d6f
commit 4f782a638e
131 changed files with 79880 additions and 3549 deletions

View File

@ -66,7 +66,6 @@ namespace WordsToolkit.Scripts.Gameplay
private CanvasGroup panelCanvasGroup;
[Header("UI References")]
[SerializeField] private float characterSpacing = 30f; // Spacing between characters
public Image backgroundSelectedWord; // Reference to the background image
[SerializeField]
private TextMeshProUGUI selectedWordText;
@ -463,7 +462,7 @@ namespace WordsToolkit.Scripts.Gameplay
if (selectedWordText != null)
{
selectedWordText.color = new Color(selectedWordText.color.r, selectedWordText.color.g, selectedWordText.color.b, 1f);
selectedWordText.text = GetSelectedWord();
selectedWordText.text = GetSelectedWord().ToUpper();
UpdateHorizontalLayout(layout);
}
}