Version: 2021.3

PlayerSettings.GetPlatformIcons

切换到手册
public static PlatformIcon[] GetPlatformIcons (Build.NamedBuildTarget buildTarget, PlatformIconKind kind);

参数

buildTarget The NamedBuildTarget.
kind 每个平台支持不同的 icon kinds 组。可在指定平台命名空间(例如 iOSPlatformIconKind)中找到。

描述

Gets the list of available icon slots for the specified build target and kind.

If you use PlayerSettings.SetPlatformIcons to set icons, Unity needs to retrieve each icon's build target and icon kind."


public static PlatformIcon[] GetPlatformIcons (BuildTargetGroup platform, PlatformIconKind kind);

参数

platform 可在 icon kinds 中找到支持此 API 的平台的完整列表以及支持的图标种类。
kind 每个平台支持不同的 icon kinds 组。可在指定平台命名空间(例如 iOSPlatformIconKind)中找到。

描述

BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961