Is possible get value for que Sorting Layer Exposed?

(Guerrero Craft61 ) #1

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

(Thorbjørn Lindeijer) #2

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?

(Guerrero Craft61 ) #3

(Seanba) #4

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