edit: nvm found it, its panelRenderer.RecreateUIFromUxml(); how do you reload the ui after changing the uxml file? the way i change from main menu to settings menu is by setting panelRenderer.uxml and reenabling the panel renderer, but that doesn't seem right