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