FromTexture2D(Texture2D)
Creates a background from a Texture2D.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static Background FromTexture2D(Texture2D t)
Parameters
The texture to use as a background.
Returns
Type | Description |
|---|---|
| Background | A new background object. |