なんとかするから、なんとかなる

エンジニア関係のことを書きます

UnityのDorpdown入門

Unityのドロップダウンをいじったときのメモ

Dropdown

Dropdownの要素変更の方法

  • Dropdown.AddOptionsにリストを追加する

    *ただし、自動でClearはされないので、自分でdropdown.clear()を呼ぶ。

文字サイズの変更方法

  • Dropdown > Template > Viewport > Content : Height 50
  • Dropdown > Template > Viewport > Content > Item : Height 50,
  • Dropdown > Template > Viewport > Content > Item > Item Label : Font size 24, bold, italic, Vertical Overflow

Dropdownで選択しの表示数変更方法

  • Dropdown > Template > Rect Transform : Height を変更する