Hey! So I'm trying to utilize the ui mask to create a sort of slot machine effect for a very ui-heavy game. I've been toying around with it for a little bit but I'm running into a problem where the masking effect is working in the editor but doesn't work in play mode.
I took the depthmask prefab from the prefab controls that come with tk2dUI and threw it in the scene. Tossed a test sprite in the scene, gave them both the same transform.position.z value and set the depth of the uimask to 1. Again, looks great in editor, no in play. Perhaps there is something I'm missing?
It's worth pointing out that I am not actually using anything else from tk2dUI in this project, I dont have a UI manager in my scene or any other UI components. I only want to borrow this masking technique because it seems really handy.
Any insight is appreciated.