コード例 #1
0
ファイル: Layout.cs プロジェクト: manwithsteelnerves/KSPPP
 public Row(Layout.HAlign alignment = Layout.HAlign.None)
 {
     GUILayout.BeginHorizontal();
     align = alignment;
     SpaceIfNeeded();
 }
コード例 #2
0
ファイル: Layout.cs プロジェクト: manwithsteelnerves/KSPPP
 public Row(Layout.HAlign alignment, GUIContent content, GUIStyle style, params GUILayoutOption[] opts)
 {
     GUILayout.BeginHorizontal(content, style, opts);
     align = alignment;
     SpaceIfNeeded();
 }
コード例 #3
0
ファイル: Layout.cs プロジェクト: manwithsteelnerves/KSPPP
 public Row(Layout.HAlign alignment, Texture image, GUIStyle style, params GUILayoutOption[] opts)
 {
     GUILayout.BeginHorizontal(image, style, opts);
     align = alignment;
     SpaceIfNeeded();
 }
コード例 #4
0
ファイル: Layout.cs プロジェクト: manwithsteelnerves/KSPPP
 public Row(Layout.HAlign alignment, params GUILayoutOption[] opts)
 {
     GUILayout.BeginHorizontal(opts);
     align = alignment;
     SpaceIfNeeded();
 }