Version: 2017.2

PlayerSettings.applicationIdentifier

切换到手册
public static string applicationIdentifier ;

描述

当前所选构建目标的应用程序标识符。

Currently supported by Android, Tizen, Samsung TV, 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'.