Version: 2022.2
언어: 한국어
Relative and absolute positioning
Set background images with an image asset

배경 이미지 설정

You can use both the Image element and the VisualElement.backgroundImage property to add visual content to your UI. The choice between the two depends on the specific requirements of your application. For more information, refer to Image versus VisualElement.backgroundImage.

Topic 설명
Set background images with an image asset Use an imported or built-in image asset to set a background image for your UI.
Image import settings Apply import settings for Textures, Sprites, and Vector images before you use them as a background for a visual element in the UI Builder.
9-Slice images with UI Toolkit Use 9-Slice images to create resizable UI elements.

추가 리소스

Relative and absolute positioning
Set background images with an image asset
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961