프로젝트 버전 업그레이드 및 빌드 테스트
This commit is contained in:
@@ -4,7 +4,7 @@ using System.Collections;
|
||||
|
||||
namespace TMPro.Examples
|
||||
{
|
||||
|
||||
|
||||
public class Benchmark04 : MonoBehaviour
|
||||
{
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace TMPro.Examples
|
||||
//textMeshPro.anchor = AnchorPositions.Left;
|
||||
textMeshPro.rectTransform.pivot = new Vector2(0, 0.5f);
|
||||
|
||||
textMeshPro.enableWordWrapping = false;
|
||||
textMeshPro.textWrappingMode = TextWrappingModes.NoWrap;
|
||||
textMeshPro.extraPadding = true;
|
||||
textMeshPro.isOrthographic = true;
|
||||
textMeshPro.fontSize = i;
|
||||
@@ -65,7 +65,7 @@ namespace TMPro.Examples
|
||||
//if (lineHeight > orthoSize * 2 * 0.9f) return;
|
||||
|
||||
go.transform.position = m_Transform.position + new Vector3(ratio * -orthoSize * 0.975f, orthoSize * 0.975f - lineHeight, 1);
|
||||
|
||||
|
||||
TextMesh textMesh = go.AddComponent<TextMesh>();
|
||||
textMesh.font = Resources.Load("Fonts/ARIAL", typeof(Font)) as Font;
|
||||
textMesh.renderer.sharedMaterial = textMesh.font.material;
|
||||
|
||||
Reference in New Issue
Block a user