This version of Unity is unsupported.

PlatformIcon.layerCount

public int layerCount;

Description

The number of texture layers the icon slot currently contains.

Cannot be smaller than PlatformIcon.minLayerCount or larger than PlatformIcon.maxLayerCount.