Version: 2019.4
public float offsetZ ;

説明

テキストが描画中に transform.position.z からどのくらいのオフセットをとるか。

using UnityEngine;

public class Example : MonoBehaviour { void Start() { GetComponent<TextMesh>().offsetZ = 5; } }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.