Hi,
I've been trying to use the HighlightEffect2D component in my 2D Unity game to outline sprites. I have created bone structures using Unity's Skinning Editor and generated the bone hierarchy in the scene using Unity's SpriteSkin component. The 2D characters movements are animated by changing the bone game objects' transforms. My problem is that the outline being generated by HighlightEffect2D doesn't update as these animations play and the sprite skin geometry is deformed.
I have tried calling Refresh() and UpdateMaterialProperties() within the Update() loop which didn't work.
Please help me understand how to get this working.
Thanks.