Version: 2023.1

NamedBuildTarget

struct in UnityEditor.Build

切换到手册

描述

Build Target by name. This allows to describe and identify build targets that are not fully represented by BuildTargetGroup and BuildTarget.

静态变量

AndroidAndroid.
EmbeddedLinuxEmbeddedLinux.
iOSiOS.
LinuxHeadlessSimulationLinuxHeadlessSimulation.
NintendoSwitchNintendo Switch.
PS4PS4.
PS5PS5.
QNXQNX.
ServerServer.
StandaloneDesktop Standalone.
tvOSTvOS.
Unknown未知。
WebGLWebGL。
WindowsStoreAppsWindows Store Apps.
XboxOneXbox One.

变量

TargetName构建目标的名称。

公共函数

ToBuildTargetGroupReturns the appropriate BuildTargetGroup that corresponds to the specified NamedBuildTarget.

静态函数

FromBuildTargetGroupReturns the appropriate NamedBuildTarget that corresponds to the specified BuildTargetGroup.