I’m facing overlapping between two prefabs where both the prefabs have different parent node.
I need to change the z index dynamically throughout the game play.
How do i need to add the code here and setGlobalzindex is not working in cocos creator here.
Any other approach ??