Version: 2021.3
LanguageEnglish
  • C#

WSATargetFamily

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

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.

Properties

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