Recall & Review
beginner
What is the primary purpose of the Image component in Unity UI?
The Image component is used to display sprites (2D images) in the UI, such as icons, buttons, and backgrounds.
Click to reveal answer
beginner
How does the RawImage component differ from the Image component in Unity?
RawImage displays textures directly without requiring them to be sprites, making it suitable for showing videos or dynamically generated textures.
Click to reveal answer
intermediate
Which property of the Image component controls how the image is filled or sliced?
The 'Image Type' property controls how the image is rendered: Simple, Sliced, Tiled, or Filled.
Click to reveal answer
intermediate
Can you use a RawImage component to display a sprite directly?
No, RawImage requires a Texture, not a Sprite. Sprites must be converted to textures or use the Image component instead.
Click to reveal answer
beginner
What is a common use case for RawImage in Unity UI?
Displaying video frames, webcam feeds, or procedural textures that are not sprites.
Click to reveal answer
Which Unity UI component is best for displaying a sprite with slicing options?
✗ Incorrect
The Image component supports sprite slicing and different image types, making it ideal for UI elements like buttons.
What type of asset does RawImage require to display content?
✗ Incorrect
RawImage uses Texture assets directly, unlike Image which uses Sprites.
Which Image Type allows an image to be filled gradually, like a progress bar?
✗ Incorrect
The Filled type lets you fill the image progressively, useful for health bars or loading indicators.
If you want to show a webcam feed in your UI, which component should you use?
✗ Incorrect
RawImage can display live textures like webcam feeds directly.
Can the Image component display a video frame directly?
✗ Incorrect
Video frames are textures and are best displayed with RawImage, not Image.
Explain the differences between the Image and RawImage components in Unity UI.
Think about what kind of image data each component handles and their common uses.
You got /4 concepts.
Describe a scenario where you would choose RawImage over Image in a Unity project.
Consider dynamic or non-sprite image sources.
You got /4 concepts.