기술 자료

Unity Engine

Unity Engine

reportGooglePlayAppDependencies

Indicates whether to track application dependencies for Google Play Store verification.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool reportGooglePlayAppDependencies { get; set; }

Examples

using UnityEngine;using UnityEditor;using UnityEditor.Build;public class ReportGooglePlayAppDependenciesSample : MonoBehaviour{ [MenuItem("Build/Report Google Play App Dependencies Sample")] public static void BuildReportGooglePlayAppDependenciesSample() { PlayerSettings.SetScriptingBackend(NamedBuildTarget.Android, ScriptingImplementation.IL2CPP); PlayerSettings.Android.targetArchitectures = AndroidArchitecture.ARM64; //Set reportGooglePlayAppDependencies to true PlayerSettings.Android.reportGooglePlayAppDependencies = true; BuildPlayerOptions options = new BuildPlayerOptions(); options.scenes = new[] { "Assets/Scenes/SampleScene.unity" }; options.locationPathName = "Build/AndroidBuild.apk"; options.target = BuildTarget.Android; options.targetGroup = BuildTargetGroup.Android; BuildPipeline.BuildPlayer(options); }}