C# 클래스 FullInspector.Internal.fiGUI

파일 보기 프로젝트 열기: jacobdufault/fullinspector

공개 메소드들

메소드 설명
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