So I have a sprite which I am trying to show up as part of the canvas–I want the canvas as an overlay to the scene, where the player can move through the world and the canvas stays the same. I’m using the canvas render mode therefore as Screen Space - Overlay, and I’ve made the sprite a child of the canvas, as well as added a Canvas Renderer to the sprite. When I play the game though, the sprite does not show up as part of the canvas, but rather shows up as a gameobject in the world. How do I get it so that the sprite will be part of the canvas?
maybe you are better off using screen space- camera, the ui will always stay in the same place then, and you can add an image en set the image of your sprite