com.typhoon.unitysdk 1.0.13 → 1.0.14

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.
@@ -1,3 +1,4 @@
1
+ using System.IO;
1
2
  using UnityEditor;
2
3
  using UnityEngine;
3
4
 
@@ -27,11 +28,10 @@ namespace TyphoonUnitySDK
27
28
  public string FloatIconID;
28
29
  public string NativeID;
29
30
  public string BannerID;
30
-
31
- [Header("友盟")]
32
- public string UMAppKey;
33
-
34
-
31
+
32
+ [Header("友盟")] public string UMAppKey;
33
+
34
+
35
35
  [Header("版本号")] public string Version = "1.0.0.0";
36
36
  public int VersionCode = 1000000;
37
37
  private static string PATH = "Assets/Editor/PublishVivoBatSetting.asset";
@@ -49,6 +49,7 @@ namespace TyphoonUnitySDK
49
49
 
50
50
  if (_default == null)
51
51
  {
52
+ UniEditor.CreateDirIfNotExist(Path.GetDirectoryName(PATH));
52
53
  _default = CreateInstance<PublishVivoBatSetting>();
53
54
  AssetDatabase.CreateAsset(_default, PATH);
54
55
  AssetDatabase.Refresh();
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.13","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"}}
1
+ {"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.14","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"}}