Canvas.sortingOrder

Switch to Manual
public int sortingOrder;

Description

Canvas' order within a sorting layer.

When comparing canvases in the same sorting layer, the one with a higher sorting order will always be displayed above the one with a lower sorting order. Note: Internally the value is stored as a signed 16 bit integer (short) and so is limited to the range -32,768 to 32,767. See Renderer.


Did you find this page useful? Please give it a rating: