Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


applicationIdentifier

The application identifier for the currently selected build target.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static string applicationIdentifier { get; set; }

Remarks

Currently supported by Android, iOS, tvOS and macOS. Changing this only sets the identifier for the currently active platform. Use PlayerSettings.SetApplicationIdentifier and PlayerSettings.GetApplicationIdentifier to set and retrieve it for a specific platform. EditorUserBuildSettings.SwitchActiveBuildTarget can be used to set the active platform while running the editor, but does not work in batch mode. If running the editor from batch mode you can change the active platform by launching it with this argument: '-buildTarget platform'.