TextMesh.lineSpacing Manual     Reference     Scripting  
Scripting > Runtime Classes > TextMesh
TextMesh.lineSpacing

var lineSpacing : float

Description

How much space will be in-between lines of text

JavaScripts
GetComponent(TextMesh).lineSpacing = 10;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
GetComponent<TextMesh>().lineSpacing = 10;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
GetComponent[of TextMesh]().lineSpacing = 10