Skip to content

Commit e418b15

Browse files
committed
OnMultiGUI fix
1 parent d5af2a8 commit e418b15

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Core/AvatarRadialMenu.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,12 @@ protected override void OnMultiGUI(SerializedProperty serializedProperty)
130130
EditorGUILayout.PropertyField(serializedProperty.FindPropertyRelative(nameof(RadialIcon)), new GUIContent(T.アイコン));
131131
EditorGUILayout.PropertyField(serializedProperty.FindPropertyRelative(nameof(RadialDefaultValue)), new GUIContent(T.パラメーター初期値));
132132
ShowDetailMenuMulti(serializedProperty);
133-
EditorGUILayout.PropertyField(serializedProperty.FindPropertyRelative(nameof(PreventRemoteFloatBug)), new GUIContent(T.リモートでのFloat暴発バグを防ぐ));
133+
var lockRemoteDuringChange = serializedProperty.FindPropertyRelative(nameof(LockRemoteDuringChange));
134+
EditorGUILayout.PropertyField(lockRemoteDuringChange, new GUIContent(T.変更中リモートをロック));
135+
if (lockRemoteDuringChange.hasMultipleDifferentValues || !lockRemoteDuringChange.boolValue)
136+
{
137+
EditorGUILayout.PropertyField(serializedProperty.FindPropertyRelative(nameof(PreventRemoteFloatBug)), new GUIContent(T.リモートでのFloat暴発バグを防ぐ));
138+
}
134139
serializedObject.ApplyModifiedProperties();
135140
}
136141

0 commit comments

Comments
 (0)