TextMesh.offsetZ

切换到手册
public float offsetZ;

描述

绘制文本时,文本应从 transform.position.z 偏移多远。

using UnityEngine;

public class Example : MonoBehaviour { void Start() { GetComponent<TextMesh>().offsetZ = 5; } }

Did you find this page useful? Please give it a rating: