mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-03-09 23:34:56 +08:00
fix: replace object UI doesn't allow the target to be set (#378)
Fixes: #377
This commit is contained in:
parent
fedf07c5c7
commit
2fe0f45873
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user