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

var lineSpacing : float

Description

The line spacing multiplier.

This is multiplied with the line spacing defined in the font.

JavaScripts
// Double line spacing
guiText.lineSpacing = 2.0;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
guiText.lineSpacing = 2.0F;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
guiText.lineSpacing = 2.0F