2019-05-18から1日間の記事一覧

インデント付きでGUI.Buttonを表示する

GUILayout.Button は GUILayout.indentLevel によるインデントが効かないため、下記のメソッドでインデント対応をする。 bool IndentedButton(string content) => IndentedButton(new GUIContent(content)); bool IndentedButton(GUIContent content) => GUI…