codebots-ltd/PDUnity

Sorting layer

Opened this issue · 1 comments

Hi,

The unity plugin works very well but it lacks the possibility to set the sorting layer and the order inside the sorting layer.

It's possible to add those parameters with those following modifications - would you consider to add those modifications or do you think it's out of the plugin scope ?

New properties and OnEnable function :
capture d ecran 2015-09-23 a 10 28 44

OnInspectorGUI modification:
capture d ecran 2015-09-23 a 10 26 48

Sorry for not responding sooner. I'll take a look at the changes, but from what you have said it sounds like that would be a handy thing to add.