ドキュメント

Unity Engine

Unity Engine

SetApplicationIdentifier

Set the application identifier for the specified platform.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

SetApplicationIdentifier(BuildTargetGroup, string)

Set the application identifier for the specified platform.
注意
Deprecated. Use SetApplicationIdentifier(NamedBuildTarget buildTarget, string identifier) instead
public static void SetApplicationIdentifier(BuildTargetGroup targetGroup, string identifier)

Parameters

targetGroup


identifier

Remarks

The location of the application identifier in the build output depends on the platform build target. On iOS, tvOS and Mac OS X platforms, the identifier is written to the 'CFBundleIdentifier' field in the info.plist file. This file is created and placed in the build output folder when the Unity project is built. Additionally, on Mac OS X, the bundle identifier can be found in the info.plist file in the final .app file, after finishing the Xcode build process. On Android the identifier is saved to the 'package' field in the AndroidManifest.xml file.
BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.

SetApplicationIdentifier(NamedBuildTarget, string)

Set the application identifier for the specified platform.
public static void SetApplicationIdentifier(NamedBuildTarget buildTarget, string identifier)

Parameters


identifier

Remarks

The location of the application identifier in the build output depends on the platform build target. On iOS, tvOS and Mac OS X platforms, the identifier is written to the 'CFBundleIdentifier' field in the info.plist file. This file is created and placed in the build output folder when the Unity project is built. Additionally, on Mac OS X, the bundle identifier can be found in the info.plist file in the final .app file, after finishing the Xcode build process. On Android the identifier is saved to the 'package' field in the AndroidManifest.xml file.
BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.