기술 자료

Unity Engine

Unity Engine

subtarget

The Subtarget to build.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public int subtarget { readonly get; set; }

Remarks

For certain platforms, setting a non-zero value for this property can modify the build behaviour.
Both this property and BuildPlayerOptions.target should remain unset to automatically use the target and subtarget as defined in the current Build Profile.
The valid values for this property correspond to target-specific enums, which are cast to ints. Examples of these enums include StandaloneBuildSubtarget, MobileTextureSubtarget, WebGLTextureSubtarget and XboxBuildSubtarget.
Usage examples: