Put a picture on the whole Unity screen 5
We need to put the picture on the screen. Covering everything. The idea is to create a second camera, put a picture of her as a background, at the right moment, to turn it on. Can that be easier?
morde last edited by
It's easier than that. Wherever it's easier to turn on
SetActive(true)) or disconnect (
SetActive(false)Something at the right moment? One team on one action and one team on the other.
The only thing you don't want to carry an extra camera, etc. you're probably using UI, is that we can use it. I mean.
Canvas(i.e. UI) is an empty object. Call him. Overlay and say the width and height of the screen:
We're adding descendants to this facility.
UI -> ImageImage doesn't take a simple picture, but sprite. That means you have to make a picture of a type of spright. If you want a clean picture, you can instead.
RawImage) We've got a flow. OverlayBackground♪
who can make a picture or just a monotonic color paint or make transparency.
And in the end, that's exactly what it is. Overlay We're doing what we want. OverlayBackgroundadding any other objects, such as displaying the results of the game or the menu or exit button.
Well, of course we're on or off at the right moment.