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 7 days ago

Definition

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

Remarks

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