Version: 2022.3
public delegatevoid LayerCallback (SortingLayer layer);

描述

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

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