com.typhoon.unitysdk 1.1.2 → 1.1.4
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.
- package/CHANGELOG.md +13 -1
- package/Editor/ApplyTool.cs +1 -1
- package/Runtime/SDKInteractiveUI.cs +1 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/Editor/ApplyTool.cs
CHANGED
|
@@ -137,7 +137,7 @@ namespace TyphoonUnitySDK
|
|
|
137
137
|
|
|
138
138
|
#if UNITY_2019_1_OR_NEWER
|
|
139
139
|
PlayerSettings.Android.useCustomKeystore = setting.EnableSignature;
|
|
140
|
-
PlayerSettings.Android.
|
|
140
|
+
PlayerSettings.Android.keystoreName = setting.KeystoreName;
|
|
141
141
|
PlayerSettings.Android.keystorePass = setting.KeystorePassword;
|
|
142
142
|
PlayerSettings.Android.keyaliasName = setting.KeyAliasName;
|
|
143
143
|
PlayerSettings.Android.keyaliasPass = setting.KeyAliasPassword;
|
|
@@ -37,7 +37,6 @@ namespace TyphoonUnitySDK
|
|
|
37
37
|
public NativeView Native = new NativeView();
|
|
38
38
|
public FloatIconView FloatIcon = new FloatIconView();
|
|
39
39
|
public InteractiveSources Sources;
|
|
40
|
-
public GUISkin Skin;
|
|
41
40
|
|
|
42
41
|
public class UIStyles
|
|
43
42
|
{
|
|
@@ -101,8 +100,6 @@ namespace TyphoonUnitySDK
|
|
|
101
100
|
{
|
|
102
101
|
base.Init();
|
|
103
102
|
DontDestroyOnLoad(gameObject);
|
|
104
|
-
Skin =
|
|
105
|
-
AssetDatabase.LoadAssetAtPath<GUISkin>($"{PathRoot}/Editor/Skin.guiskin");
|
|
106
103
|
var path = $"{PathRoot}/Editor/InteractiveSources.asset";
|
|
107
104
|
Sources =
|
|
108
105
|
AssetDatabase.LoadAssetAtPath<InteractiveSources>(path);
|
|
@@ -130,7 +127,7 @@ namespace TyphoonUnitySDK
|
|
|
130
127
|
|
|
131
128
|
public void ShowVideo(Action success, Action<string> fail)
|
|
132
129
|
{
|
|
133
|
-
Video.Show(success, () => fail("fail"));
|
|
130
|
+
Video.Show(success, () => fail?.Invoke("fail"));
|
|
134
131
|
}
|
|
135
132
|
|
|
136
133
|
|
|
@@ -576,8 +573,6 @@ namespace TyphoonUnitySDK
|
|
|
576
573
|
{
|
|
577
574
|
#if UNITY_EDITOR
|
|
578
575
|
|
|
579
|
-
var skin = GUI.skin;
|
|
580
|
-
GUI.skin = Skin;
|
|
581
576
|
var mode = GetMode();
|
|
582
577
|
var rect = new Rect(0, 0, Screen.width, Screen.height);
|
|
583
578
|
Banner.OnGUI(rect, mode);
|
|
@@ -585,7 +580,6 @@ namespace TyphoonUnitySDK
|
|
|
585
580
|
Native.OnGUI(rect, mode);
|
|
586
581
|
Inters.OnGUI(rect, mode);
|
|
587
582
|
Video.OnGUI(rect, mode);
|
|
588
|
-
GUI.skin = skin;
|
|
589
583
|
#endif
|
|
590
584
|
}
|
|
591
585
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.1.
|
|
1
|
+
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.1.4","description":"","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"}],"version_log":"## [1.1.4] - 2024-12-06\r\n\r\n### 修复\n* unity 测试适配广告不传参数时报错\r\n\r\n","major_flag":false,"write_time_stamp":1733459068850,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}
|