文档

Unity Engine

Unity Engine

IsBuildTargetSupported(BuildTargetGroup, BuildTarget)

Returns true if the specified build target is currently available in the Editor.
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool IsBuildTargetSupported(BuildTargetGroup buildTargetGroup, BuildTarget target)

Parameters

buildTargetGroup

build target group

build target

Returns

Type

Description

boolTrue if the specified build target is currently available in the Editor. Otherwise, false.