private WordWrappedLabelButton ( string label, string buttonText ) : bool | ||
label | string | |
buttonText | string | |
리턴 | bool |
private bool WordWrappedLabelButton(string label, string buttonText)
{
GUILayout.BeginHorizontal(new GUILayoutOption[0]);
GUILayout.Label(label, EditorStyles.wordWrappedLabel, new GUILayoutOption[0]);
GUILayoutOption[] options = new GUILayoutOption[] { GUILayout.Width(100f) };
bool flag = GUILayout.Button(buttonText, options);
GUILayout.EndHorizontal();
return flag;
}