Is possible get value for que Sorting Layer Exposed?

I need the value for the Sorting Layer and Order layer to try doing a FixDepth script, is possible get thats value?

Please try to be a bit more specific. Are you trying to use the support for JavaScript scripting and missing a feature in the API? What are “Sorting Layer” and “Order layer” values?

Hi there, @GuerreroCraft61. It looks like you are using an old version of Tiled2Unity. I would update to the latest SuperTiled2Unity.

In any case, if you use a custom property on your Tile Layer (in Tiled) named unity:sortingLayerName then that will set your Sorting Layer in Unity during export. Thanks.

1 Like