Version: 5.3 (switch to 5.4b)
言語English
  • C#
  • JS

スクリプト言語

好きな言語を選択してください。選択した言語でスクリプトコードが表示されます。

TextMesh.tabSize

マニュアルに切り替える
public float tabSize;

説明

How much space will be inserted for a tab '\t' character. This is a multiplum of the 'spacebar' character offset.

using UnityEngine;
using System.Collections;

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