Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

UI button doesn't come back to normal state from highlighted when clicked with mouse or touch,

$
0
0
Hello everyone,
in recent weeks we switched from Unity 5.3.6p7 to 5.4.3p3 and found a strange bug on the management of UI elements that would not show up in the previous version of Unity.
In our game we have the menu made by different CanvasGroup that we show up and hide while the user move around in the menu.

To achieve this we turn off the old canvas and turn on the new one with the following code:
Code (JavaScript):
  1. newOne.alpha = 1;
  2. newOne.interactable = true;
  3. newOne.blocksRaycasts =...
UI button doesn't come back to normal state from highlighted when clicked with mouse or touch,

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>