• Unity
  • Unity 2D Mask & Skeleton Animation

Related Discussions
...

Hi guys,

I wonder if it's possible to "hide" the spine skeleton animation object behind Unity 2DMask or Rect Mask 2D, it's very important for me!

Thanks in advance!

No. Haven't looked into what's required for the Unity UI masks to work.
But it seems to involve stencil buffers and maybe a separate shader? I'm not sure.
That's something I've been meaning to do with the new SkeletonGraphic class that should implement/derive from UnityEngine.UI.MaskableGraphic, coming eventually.