Version: 2023.2
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.