Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为我的 GUI 使用 Unity3d GUIText。
如何更改行之间的大小?
GUIText有一个 lineSpacing 属性。我假设这就是您所指的“行间大小”。如果是这样,它就像这样简单:
guiText.lineSpacing = 1.0; //or whatever value you desire
效果将类似于以下内容: