コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

2022-08-09から1日間の記事一覧

【Unity】UIElements でボタンのサイズをスクリプトから設定する方法

概要 var button = new Button { text = "ボタン" }; button.style.width = 10; style.width を使用する