public void Apply(BuildTarget target) { this.Target = target; PlayerSettings.companyName = this.CompanyName; PlayerSettings.productName = this.ProductName; PlayerSettings.bundleVersion = this.AppVersion; PlayerSettings.iOS.buildNumber = this.BuildNumber.ToString(); PlayerSettings.Android.bundleVersionCode = this.BuildNumber; PlayerSettings.Android.keystoreName = Path.Combine(AndroidKeystoreDir, Path.ChangeExtension(this.Android.KeystoreName, "keystore")); PlayerSettings.Android.keystorePass = this.Android.KeystorePassword; PlayerSettings.Android.keyaliasName = this.Android.KeyAliasName; PlayerSettings.Android.keyaliasPass = this.Android.KeyAliasPassword; PlayerSettings.SetScriptingDefineSymbolsForGroup(target.ToBuildTargetGroup(), ""); SaveRspFile(this.DefineSymbols); switch (target) { case BuildTarget.iOS: PlayerSettings.bundleIdentifier = this.Ios.BundleIdentifier; break; case BuildTarget.Android: PlayerSettings.bundleIdentifier = this.Android.BundleIdentifier; break; } }