PlayerSettings.SetIconsForTargetGroup 设置目标组图标列表

static function SetIconsForTargetGroup (platform : BuildTargetGroup, icons : Texture2D[]) : void

Description描述

Assign a list of icons for the specified platform.

为特定平台指定图标列表。

Most platforms support viewing icons in multiple sizes so Unity lets you specify multiple icon textures for each platform. The list will only be assigned if it has the same length as the list of icon sizes returned by GetIconSizesForTargetGroup and if the specified platform is supported in this editor.

大多数平台上支持多种尺寸预览图标,因此,Unity可让您为每个平台指定多个图标纹理。如果与GetIconSizesForTargetGroup返回的图标大小列表具有相同长度,并且在这个编辑器特定的平台被支持,这个列表仅被指定。

Page last updated: 2011-10-5