Version: 2017.2
言語: 日本語
public TextAlignment alignment ;

説明

テキストの横方向の表示位置を設定する (Left, Right, Center)

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { GetComponent<TextMesh>().alignment = TextAlignment.Left; } }