I made some ui with CocoStudio 18.104.22.168.
and load it into Scene.
when i set uiButtonInstance->setEnable(false),
it disappear on screen, instead of showing disable state.
I found comment of UIWidget.setEnabled on cpp source says…
“true if the widget is enabled, widget may be touched and visible, false if the widget is disabled, widget cannot be touched and hidden.”
if so, when disable state is shown?