기술 자료

Unity Engine

Unity Engine

activeNamedBuildTarget

The platform settings the Editor is configured for.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static NamedBuildTarget activeNamedBuildTarget { get; }

Remarks

Use this property to read or change the platform settings the Editor is set to build for, for example with PlayerSettings. The value combines EditorUserBuildSettings.activeBuildTarget with the active subtarget, so a dedicated server configuration reports NamedBuildTarget.Server instead of NamedBuildTarget.Standalone.