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.

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

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
guiText.lineSpacing = 2.0F