Version: 2019.2
Text (Texto)
Raw Image

Image (Imagen)

The Image control displays a non-interactive image to the user. You can use this for purposes such as decorations or icons, and you can change the image from a script to reflect changes in other controls. The control is similar to the Raw Image control, but offers more options for animating the image and accurately filling the control rectangle. However, the Image control requires its Texture to be a Sprite, while the Raw Image can accept any Texture.

Un controle Image
Un controle Image

Propiedades

Propiedad: Función:
Source Image The Texture that represents the image to display (which must be imported as a Sprite).
Color El color a aplicar a la imagen.
Material El Material en ser utilizado para renderizar la imagen.
Raycast Target Enable Raycast Target if you want Unity to consider the image a target for raycasting.
Preserve Aspect Ensure the image retains its existing dimension.
Set Native Size Set the dimensions of the image box to the original pixel size of the Texture.

You must import the image to display as a Sprite to work with the Image control.

Text (Texto)
Raw Image
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961