Hi, I’m trying to make UI element above other at runtime using the sorting order.
There is my scene. I have a hand with 6 slot for cards.
When the slot are filled I activate a gameObject wich is the cards.
When my mouse is over a card, this card is scaled UP and move.
I also want to make this card on front of the other.
For that I added a Image and a canvas to the card GameObject.
And a script to change the sorting order when the mouse is over.
The problem is when there is a canvas attached to that object, it doesn’t display at all in the scene.
PS the Event system don’t see it at all neither, it see the empty behind.
While in the editor I can see it :
If a just remove the canvas I see the card in the hand but I can’t change the layer order …
Do you have Idea of what’s could be wrong?
Making me crazy
Thanks for your help.