Version: 2021.2
LanguageEnglish
  • C#
Method group is Obsolete

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

Obsolete EditorUserBuildSettings.wsaSubtarget is obsolete and has no effect. It will be removed in a subsequent Unity release. 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.