GUIStyle.fixedWidth
Declaration
public float fixedWidth;Описание
Если не-0, то любые GUI элементы, отображаемые с этим стилем, будут иметь ширину, указанную здесь.
using UnityEngine;
public class Example : MonoBehaviour { // Prints the value of fixedWidth.
void OnGUI() { Debug.Log(GUI.skin.button.fixedWidth); } }