PlayMaker News > General Discussion
Change sorting layer on GameObject var w/PlayMaker?[SOLVED]
velketor:
You are right! I downloaded the code for this custom action SetSortingRendererLayer.cs here:
https://github.com/jeanfabre/PlayMakerCustomActions_U4/blob/master/Assets/PlayMaker%20Custom%20Actions/Renderer/SetSortingRendererLayer.cs
Then I pasted that code into a brand new C# script and placed it in my Playmaker actions folder. I was able to use it as an Action in Playmaker and I can confirm it does work on WebGL for sorting layers. You can even select objects that have no renderer, such as non-GUI text, and it will still assign it whatever sorting layer you tell it. Pretty neat! Thanks again =)
Navigation
[0] Message Index
[*] Previous page
Go to full version