ドキュメント

Unity Engine

Unity Engine

GetPlatformIcons

Gets the list of available icon slots for the specified build target and kind. The BuildTargetGroup overload is marked for deprecation in the future; use the NamedBuildTarget overload.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

GetPlatformIcons(BuildTargetGroup, PlatformIconKind)

Gets the list of available icon slots for the specified build target and kind. The BuildTargetGroup overload is marked for deprecation in the future; use the NamedBuildTarget overload.
注意
Deprecated. Use GetPlatformIcons(NamedBuildTarget , PlatformIconKind) instead
public static PlatformIcon[] GetPlatformIcons(BuildTargetGroup platform, PlatformIconKind kind)

Parameters

Returns

Type

Description

PlatformIcon[]

Remarks

Returns the PlatformIcon slot array for the given build target and kind. Slot count is fixed per platform and kind. Assign textures to each slot using PlatformIcon.SetTexture or PlatformIcon.SetTextures. Pass the same array to PlayerSettings.SetPlatformIcons.

GetPlatformIcons(NamedBuildTarget, PlatformIconKind)

Gets the list of available icon slots for the specified build target and kind. The BuildTargetGroup overload is marked for deprecation in the future; use the NamedBuildTarget overload.
public static PlatformIcon[] GetPlatformIcons(NamedBuildTarget buildTarget, PlatformIconKind kind)

Parameters

Returns

Type

Description

PlatformIcon[]

Remarks

Returns the PlatformIcon slot array for the given build target and kind. Slot count is fixed per platform and kind. Assign textures to each slot using PlatformIcon.SetTexture or PlatformIcon.SetTextures. Pass the same array to PlayerSettings.SetPlatformIcons.