搭建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
@@ -4,7 +4,7 @@ using System.Collections;
namespace TMPro.Examples
{
public class SimpleScript : MonoBehaviour
{
@@ -29,12 +29,12 @@ namespace TMPro.Examples
// Assign Material to TextMesh Pro Component
//m_textMeshPro.fontSharedMaterial = Resources.Load("Fonts & Materials/LiberationSans SDF - Bevel", typeof(Material)) as Material;
//m_textMeshPro.fontSharedMaterial.EnableKeyword("BEVEL_ON");
// Set various font settings.
m_textMeshPro.fontSize = 48;
m_textMeshPro.alignment = TextAlignmentOptions.Center;
//m_textMeshPro.anchorDampening = true; // Has been deprecated but under consideration for re-implementation.
//m_textMeshPro.enableAutoSizing = true;
@@ -42,7 +42,7 @@ namespace TMPro.Examples
//m_textMeshPro.wordSpacing = 0.1f;
//m_textMeshPro.enableCulling = true;
m_textMeshPro.enableWordWrapping = false;
m_textMeshPro.textWrappingMode = TextWrappingModes.NoWrap;
//textMeshPro.fontColor = new Color32(255, 255, 255, 255);
}