Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorUserBuildSettings.wsaSubtarget

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

public static var wsaSubtarget: WSASubtarget;
public static WSASubtarget wsaSubtarget;

Description

Sets and gets target device type for the application to run on when building to Windows Store platform.

Default is to target "any device", which results in poorer settings choices for any particular device type but works on all of them. Choosing any particular device type will optimize settings for that device type, but may cause application to not function properly when run on another device type.

Did you find this page useful? Please give it a rating: