Class ImageInfoView
Component that manages displaying an icon and text.
Inherited Members
Namespace: UnityEngine.GameFoundation.UI
Assembly: solution.dll
Syntax
public class ImageInfoView : MonoBehaviour
Properties
| Name | Description |
|---|---|
| imageField | The Image component to show an icon. |
| textField | The Text component to show a text. |
Methods
| Name | Description |
|---|---|
| SetIcon(Sprite) | Sets icon that is displayed in this view. |
| SetText(string) | Set text that is displayed in this view. |
| SetView(Sprite, string) | Sets icon and text that are displayed in this view. |