GetSelectedImage()
Retrieves the selected asset which can be of a type of Texture, Sprite, RenderTexture or VectorImage.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Object GetSelectedImage()
Returns
Type | Description |
|---|---|
| Object | An asset as an object. |