This version of Unity is unsupported.

SortingLayer.LayerCallback

Declaration

public delegate void LayerCallback(SortingLayer layer);

Description

Calls the methods in its invocation list when a sorting layer is added or removed.

`LayerCallback` is used by SortingLayer.onLayerAdded and SortingLayer.onLayerRemoved.