Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


layerCount

The number of texture layers the icon slot currently contains.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public int layerCount { get; set; }

Remarks

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