0
Answered

Custom UI button images

Cris 2 months ago in General Questions updated 2 months ago 2

Hi,

I am trying to use my own images for button-off and button-on states.

But I can associate only the image for button-on. 

The image for button off remain as default.

Is there something I can modify on the UIButton script?


Thanks

Answer

Answer
Answered

Hi,

The images for the UIButton are automatically set according to the color defined in the UIButton component. Currently, using alternative images is not supported. However, HMI buttons from Professional/HMI can be utilized, allowing the definition of custom images. If Professional is not available, Unity UI components can be used in the current panels.

GOOD, I'M SATISFIED
Satisfaction mark by Cris 2 months ago
Answer
Answered

Hi,

The images for the UIButton are automatically set according to the color defined in the UIButton component. Currently, using alternative images is not supported. However, HMI buttons from Professional/HMI can be utilized, allowing the definition of custom images. If Professional is not available, Unity UI components can be used in the current panels.