-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add game objects from outside rexUI dialog #436
Labels
Comments
UI element of rexUI usually does not change depth (order of rendering) of children game objects. var background = dialog.getElement('background');
dialog.sendChildToBack(background); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For some reason, I can't pass in a game object, like an image, into rexUI dialog and have it display. The image seems to only show if I create the image directly within the config object of dialog. This is the case even when I add the image to the same scene, and set the depth to higher than its other elements. If I remove the background (a roundrectangle), however, the image shows. So, it seems to be simply blocked by other elements.
The text was updated successfully, but these errors were encountered: