com.typhoon.unitysdk 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,7 +8,7 @@ namespace TyphoonUnitySDK
|
|
|
8
8
|
{
|
|
9
9
|
[Header("安卓发布工具项目路径")] public string AndroidPublishProj;
|
|
10
10
|
[Header("基本参数")] public bool DebugMode = true;
|
|
11
|
-
public bool
|
|
11
|
+
public bool Portrait = true;
|
|
12
12
|
public string GameName;
|
|
13
13
|
public Texture Icon;
|
|
14
14
|
public string PackageName;
|
|
@@ -251,16 +251,18 @@ dependencies {
|
|
|
251
251
|
{
|
|
252
252
|
Debug.Log("更换代码参数");
|
|
253
253
|
var config = $@"{publishProj}\vivo_union\src\main\java\com\typhoon\vivo_union\Config.java";
|
|
254
|
+
var debugMode = setting.DebugMode ? "true" : "false";
|
|
255
|
+
var orientation = setting.Portrait ? "true" : "false";
|
|
254
256
|
var input =
|
|
255
257
|
$@"package com.typhoon.vivo_union;
|
|
256
258
|
|
|
257
259
|
/*打包配置*/
|
|
258
260
|
public class Config {{
|
|
259
261
|
/*Debug 模式开关*/
|
|
260
|
-
public static boolean DEBUG_MODE = {
|
|
262
|
+
public static boolean DEBUG_MODE = {debugMode};
|
|
261
263
|
|
|
262
264
|
/*竖屏模式为true,横屏模式为false*/
|
|
263
|
-
public static boolean ORIENTATION_PORTRAIT = {
|
|
265
|
+
public static boolean ORIENTATION_PORTRAIT = {orientation};
|
|
264
266
|
|
|
265
267
|
/*隐藏政策URL*/
|
|
266
268
|
public static String PRIVACY_POLICY_URL = ""{setting.PrivacyPolicyYNoteUrl}"";
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.
|
|
1
|
+
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.7","description":"unity端个汇总渠道的sdk,统一接口,一键发布","unity":"2018.1","type":"tool","hideInEditor":false,"author":{"name":"Jan Zhang","email":"","url":""},"changelogUrl":"","documentationUrl":"","keywords":["typhoon"],"license":"","licensesUrl":"","customDependencies":[{"PackageName":"com.unity.nuget.newtonsoft-json","Value":"2.0.0"}],"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}
|