C# Класс FullInspector.Internal.fiGUI

Показать файл Открыть проект

Открытые методы

Метод Описание
ComputeActualLabelWidth ( float inspectorWidth, GUIContent controlLabel, float controlWidth ) : float

Gets the width of a label.

PopLabelWidth ( ) : float

Removes a stored label width.

PushLabelWidth ( GUIContent controlLabel, float controlWidth ) : float

Computes the new width that labels should be.

Описание методов

ComputeActualLabelWidth() публичный статический Метод

Gets the width of a label.
public static ComputeActualLabelWidth ( float inspectorWidth, GUIContent controlLabel, float controlWidth ) : float
inspectorWidth float The total width of the inspector
controlLabel UnityEngine.GUIContent /// The label for the control. This will ensure that the returned width /// can contain the entire label. ///
controlWidth float /// The total width available to the control. ///
Результат float

PopLabelWidth() публичный статический Метод

Removes a stored label width.
public static PopLabelWidth ( ) : float
Результат float

PushLabelWidth() публичный статический Метод

Computes the new width that labels should be.
public static PushLabelWidth ( GUIContent controlLabel, float controlWidth ) : float
controlLabel UnityEngine.GUIContent /// The label for the control. The width will be able to contain the /// label. ///
controlWidth float /// The total width available to the control. ///
Результат float