SpineMan1000 Hey all I just wanted to know how to access the 'Sorting Layer' and the 'Order in Layer' variables within a C# script. Loading Image Thanks to any who can lend a helping hand! -Spineman
Pharan Those are just inspectors for the properties on the MeshRenderer since Unity doesn't include them in MeshRenderer's inspector. SkeletonAnimation itself doesn't hold them. https://docs.unity3d.com/ScriptReference/MeshRenderer.html https://docs.unity3d.com/ScriptReference/Renderer-sortingOrder.html https://docs.unity3d.com/ScriptReference/Renderer-sortingLayerID.html https://docs.unity3d.com/ScriptReference/Renderer-sortingLayerName.html GetComponent<MeshRenderer>().sortingOrder = 1;