Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.