GUIText.lineSpacing 行间距

var lineSpacing : float

Description描述

The line spacing multiplier.

行间距倍数。

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

在该字体使定义的行间距倍增。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		guiText.lineSpacing = 2.0F;
	}
}
// Double line spacing
//双倍行间距
guiText.lineSpacing = 2.0;
Page last updated: 2011-1-24