Version: 2022.3

WSATargetFamily

enumeration

切换到手册

描述

Options for the set of Universal Windows Platform device families your application can directly support.

A device family identifies the APIs, system characteristics, and behaviors across a class of devices. It also determines the set of devices on which users can install your application from the Microsoft Store. By default, your application targets the Universal device family. To do this, Microsoft Visual Studio sets Windows.Universal for TargetDeviceFamily.
For more information, see Microsoft’s Device families overview.
Important: Unity writes target families to the package manifest when it builds Universal Windows Platform for the first time. Building into an existing Universal Windows Platform build folder does not update the package manifest and does not apply any changes.

变量

DesktopTargets a device family that includes Desktop PCs, laptops, and tablet devices.
MobileTargets a device family that includes smartphone devices.
XboxTargets a device family that includes Xbox consoles.
HolographicTargets a device family that includes HoloLens devices.
TeamTargets a device family that includes the Surface Hub.
IoTTargets a device family that includes Internet-of-Things (IoT) devices.
IoTHeadlessTargets a device family that includes Internet-of-Things (IoT) devices without any UI.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961