public static Create_TextureBoxStyle ( ) : GUIStyle | ||
Результат | GUIStyle |
public static GUIStyle Create_TextureBoxStyle()
{
var style = new GUIStyle(GUI.skin.box);
style.alignment = TextAnchor.MiddleCenter;
style.margin = new RectOffset(0, 0, 0, 0);
style.padding.top = 2;
return style;
}
public static readonly GUILayoutOption[] TextureBoxOptions = new GUILayoutOption[]