0
Beantwortet

Custom UI button images

Cris vor 10 Monaten in General Questions aktualisiert vor 10 Monaten 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

Antwort

Antwort
Beantwortet

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.

GUT, ICH BIN ZUFRIEDEN.
Zufriedenheit von Cris vor 10 Monaten
Antwort
Beantwortet

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.