ラベル unityeditor の投稿を表示しています。 すべての投稿を表示
ラベル unityeditor の投稿を表示しています。 すべての投稿を表示

2020年5月4日月曜日

UnityEditorのUIスケール設定

UnityEditorのUIスケール設定

UnityEditorのUIスケール設定

概要

高解像度のディスプレイ(4K,8K)で作業していると、UnityEditorそのもののUIの大きさを小さく感じることが結構あります。
Unity 2019.3からEditorのUIのスケールを変更する設定項目が増えました。

確認した環境

Platform Version
Windows Windows 10 Home
Unity 2019.3.2f1

設定方法

enter image description here

Preferences/UI Scalingを開いて、適当なスケーリングの値を選びましょう。
UnityEditorを再起動すると適用されます。

詳細は公式マニュアルのリンク先を参照。
https://docs.unity3d.com/ja/2019.3/Manual/Preferences.html#UI-Scaling

2019年2月16日土曜日

【Unity】 UnityEditor EnumMaskField became EnumFlagsField

introduction

Original article at here.
I have translated to English practice.

contents

EnumMaskField is Obsolete from Unity.
https://docs.unity3d.com/ScriptReference/EditorGUILayout.EnumMaskField.html
It is written in the official document.
If use it probably warning is output.
For that reason change to EnumFlagsField.
https://docs.unity3d.com/ScriptReference/EditorGUILayout.EnumFlagsField.html
.
Because various meanings in the “Mask”.
m_Flags = (ExampleFlagsEnum)EditorGUILayout.EnumFlagsField(m_Flags);

source

EditorのEnumMaskFieldはEnumFlagsFieldになりました - Qiita