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

PlatformIcon.GetTexture

Declaration

public Texture2D GetTexture(int layer);

Parameters

layer Cannot be larger than PlatformIcon.maxLayerCount.

Description

Retrieve the texture which is currently assigned to the specified layer.