LanguageEnglish
  • C#

PlatformIcon.SetTextures

Declaration

public void SetTextures(params Texture2D[] textures);

Parameters

textures Must be an array of size PlatformIcon.maxLayerCount.

Description

Assign all available icon layers.

Will overwrite all the currently set icon layers. Texture files must be stored in the project and instances obtained using AssetDatabase.LoadAssetAtPath.


Did you find this page useful? Please give it a rating: