手册
脚本 API
unity3d.com
Version:
2018.4
2022.1
2021.3
2021.2
2021.1
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
5.6
手册
脚本 API
语言:
中文
English
中文
日本語
Español
한국어
Русский
脚本 API
Version:
2018.4
2022.1
2021.3
2021.2
2021.1
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
5.6
PlayerSettings
.GetPlatformIcons
切换到手册
public static PlatformIcon[]
GetPlatformIcons
(
BuildTargetGroup
platform
,
PlatformIconKind
kind
);
参数
platform
可在
icon kinds
中找到支持此 API 的平台的完整列表以及支持的图标种类。
kind
每个平台支持不同的
icon kinds
组。可在指定平台命名空间(例如 iOSPlatformIconKind)中找到。
描述
返回指定平台和
kind
可用的图标字段的列表。
如果使用
PlayerSettings.SetPlatformIcons
设置所有图标,则必须针对给定平台和
icon kind
检索这些图标。