PlatformIcon.SetTexture

public void SetTexture(Texture2D texture, int layer);

Parameters

layerCannot be larger than PlatformIcon.maxLayerCount.

Description 描述

Assign a texture to the specified layer.