使用例
Before | After |
---|---|
使い方
上記のような「common.uss」という名前のファイルを
Unity 2019.3 のプロジェクトの
「Assets/Editor/StyleSheets/Extensions」フォルダに追加することで
Inspector の余白を減らすことができます
(正常に反映されない場合は Unity を再起動します)
参考ツイート
It won't solve everything, but you can try to hack the default control margins if you want. Create a file Assets/Editor/StyleSheets/Extensions/common.uss in your project with
— Jonathan Schmidt (@jschmidt42) January 29, 2020
:root {
--theme-default-control-margin: 0px 0px 0px 0px;
}
You'll end up with something like this. pic.twitter.com/iHOabSEG4r