TextMesh.anchor
Declaration
public TextAnchor anchor;Описание
Какая точка текста разделяет позицию Transform.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { GetComponent<TextMesh>().anchor = TextAnchor.MiddleCenter; } }
public TextAnchor anchor;Какая точка текста разделяет позицию Transform.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { GetComponent<TextMesh>().anchor = TextAnchor.MiddleCenter; } }