fix: replace object UI doesn't allow the target to be set (#378)

Fixes: #377
This commit is contained in:
bd_ 2023-08-06 19:33:04 +09:00 committed by GitHub
parent fedf07c5c7
commit 2fe0f45873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,9 +15,13 @@ namespace nadena.dev.modular_avatar.core.editor
protected override void OnInnerInspectorGUI()
{
serializedObject.Update();
EditorGUILayout.PropertyField(_targetObject, G("replace_object.target_object"));
Localization.ShowLanguageUI();
serializedObject.ApplyModifiedProperties();
}
}
}