I'm using AC inventory and having an issue with clicking on shift right or shift left buttons.
On enter mouse, the buttons change to highlight textures but nothing happens when you click.
It looks like the click texture appears beneath background and highlight textures of the shift button.
How to fix it and make it work properly?
Using 1.44a AC
Comments
Have you entered the name of the element you want to shift? Bear in mind you'll also have to limit the number of slots on the inventory element itself, and it'll only shift if it can (if it's not already showing the maximum number of inventory items, it won't shift).
Otherwise, screenshots please.
Yes, the textures of the shift buttons not working properly.
What happens is that everything works good.
Except that when you try to click on right shift or left shift buttons,
the clicked on state texture of the buttons which are slightly darker then the
normal idle state of the right/left shift buttons are somehow behind other 2
shift right/left textures (idle one and highlight one).
And it briefly appears when you click, only it is behind other 2
textures, which are supposed to be invisible when the mouse is down and back
visible when the mouse is up.
If it all makes sense
Be aware that you can always rely on Unity UI instead, if you want complete control over how your buttons animate / display.
1. I hover on idle shift right button, highlight texture appears.
2. I press on the button highlight texture stays and beneath it the pressed texture appears briefly and disappears.
3. Problem.
The highlight texture overlays the pressed and stays there even if you press on it.
I hover on the button, it is highlighted, and it is OK, I press on it, the highlited texture stays on ( with out blinking ) the pressed texture appears briefly beneath the highlight texture that is still visible.
This means the highlight texture blocks all the time the pressed one and you never can see it!
How did I guess it then, cause I changed for bigger overlaping black square pressed texture to check what was going on. And then I saw that overlaping big black square pressed texture appears briefly beneath the highlight texture. While highlight texture always stays visible and thus blocks what is beneath.
The highlight texture always visible at any time while you hover or press, and when you press it still visible and blocks the pressed texture.
I hope you can solve it.