Skip to content

Commit 6496cba

Browse files
author
nebulaliu
committed
Auto-publish WXSDK.
1 parent 87d21fc commit 6496cba

37 files changed

+2711
-604
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ Removed - 删除功能/接口
66
Fixed - 修复问题
77
Others - 其他
88
-->
9+
## 2024-3-28 【普通更新】
10+
* 普通:优化对团结版的导出支持
11+
### Fixed
12+
* 普通:兼容PlayDelayed播放
13+
* 普通:兼容FMOD2.02版本
14+
* 普通:修复FState偶现报错
15+
916
## 2024-3-5 【普通更新】
1017
* 普通:WXAssetBundle支持切换CDN
1118
* 普通:优化VideoPlayer组件

Editor/MiniGameConfig.asset

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
%YAML 1.1
2+
%TAG !u! tag:unity3d.com,2011:
3+
--- !u!114 &11400000
4+
MonoBehaviour:
5+
m_ObjectHideFlags: 0
6+
m_CorrespondingSourceObject: {fileID: 0}
7+
m_PrefabInstance: {fileID: 0}
8+
m_PrefabAsset: {fileID: 0}
9+
m_GameObject: {fileID: 0}
10+
m_Enabled: 1
11+
m_EditorHideFlags: 0
12+
m_Script: {fileID: 1795359250, guid: 1cf430f187a0b40eda7f668318d8be23, type: 3}
13+
m_Name: MiniGameConfig
14+
m_EditorClassIdentifier:
15+
ProjectConf:
16+
projectName:
17+
Appid:
18+
CDN:
19+
assetLoadType: 0
20+
compressDataPackage: 0
21+
VideoUrl:
22+
DST:
23+
StreamCDN:
24+
bundleHashLength: 32
25+
bundlePathIdentifier: StreamingAssets;
26+
bundleExcludeExtensions: json;
27+
AssetsUrl:
28+
MemorySize: 256
29+
HideAfterCallMain: 1
30+
preloadFiles:
31+
Orientation: 0
32+
bgImageSrc: Assets/WX-WASM-SDK-V2/Runtime/wechat-default/images/background.jpg
33+
dataFileSubPrefix:
34+
maxStorage: 200
35+
defaultReleaseSize: 31457280
36+
texturesHashLength: 8
37+
texturesPath: Assets/Textures
38+
needCacheTextures: 1
39+
loadingBarWidth: 240
40+
needCheckUpdate: 0
41+
disableHighPerformanceFallback: 0
42+
IOSDevicePixelRatio: 0
43+
SDKOptions:
44+
UseFriendRelation: 0
45+
UseCompressedTexture: 0
46+
UseMiniGameChat: 0
47+
PreloadWXFont: 0
48+
CompileOptions:
49+
DevelopBuild: 0
50+
AutoProfile: 0
51+
ScriptOnly: 0
52+
Il2CppOptimizeSize: 1
53+
profilingFuncs: 1
54+
Webgl2: 0
55+
fbslim: 0
56+
DeleteStreamingAssets: 1
57+
ProfilingMemory: 0
58+
CleanBuild: 0
59+
CustomNodePath:
60+
showMonitorSuggestModal: 1
61+
enableProfileStats: 0
62+
enableRenderAnalysis: 0
63+
iOSAutoGCInterval: 10000
64+
enableIOSPerformancePlus: 0
65+
CompressTexture:
66+
halfSize: 0
67+
useDXT5: 0
68+
bundleSuffix: bundle
69+
parallelWithBundle: 0
70+
bundleDir:
71+
dstMinDir:
72+
debugMode: 0
73+
force: 0
74+
PlayerPrefsKeys: []

Editor/wx-editor.pdb.meta renamed to Editor/MiniGameConfig.asset.meta

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/PicCompressor.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,30 @@ public static string GetASTCPath()
3737
{
3838
if (Application.platform == RuntimePlatform.WindowsEditor)
3939
{
40-
return Path.Combine(Application.dataPath, "WX-WASM-SDK-V2/Editor/TextureEditor/Node/astcenc-sse4.1.exe");
40+
return Path.Combine(UnityUtil.GetWxSDKRootPath(), "Editor/TextureEditor/Node/astcenc-sse4.1.exe");
4141
}
4242

4343
if (UnityEngine.SystemInfo.processorType.ToLower().Contains("apple"))
4444
{
45-
return Path.Combine(Application.dataPath, "WX-WASM-SDK-V2/Editor/TextureEditor/Node/astcenc-neon");
45+
return Path.Combine(UnityUtil.GetWxSDKRootPath(), "Editor/TextureEditor/Node/astcenc-neon");
4646
}
4747

48-
return Path.Combine(Application.dataPath, "WX-WASM-SDK-V2/Editor/TextureEditor/Node/astcenc-avx2");
48+
return Path.Combine(UnityUtil.GetWxSDKRootPath(), "Editor/TextureEditor/Node/astcenc-avx2");
4949
}
5050

5151
public static string GetPVRTCPath()
5252
{
53-
return Path.Combine(Application.dataPath, "WX-WASM-SDK-V2/Editor/TextureEditor/Node/PVRTexToolCLI" + (Application.platform == RuntimePlatform.WindowsEditor ? ".exe" : string.Empty));
53+
return Path.Combine(UnityUtil.GetWxSDKRootPath(), "Editor/TextureEditor/Node/PVRTexToolCLI" + (Application.platform == RuntimePlatform.WindowsEditor ? ".exe" : string.Empty));
5454
}
5555

5656
public static string GetDXT5Path()
5757
{
58-
return Path.Combine(Application.dataPath, "WX-WASM-SDK-V2/Editor/TextureEditor/Node/PVRTexToolCLI" + (Application.platform == RuntimePlatform.WindowsEditor ? ".exe" : string.Empty));
58+
return Path.Combine(UnityUtil.GetWxSDKRootPath(), "Editor/TextureEditor/Node/PVRTexToolCLI" + (Application.platform == RuntimePlatform.WindowsEditor ? ".exe" : string.Empty));
5959
}
6060

6161
public static string GetPNGPath()
6262
{
63-
return Path.Combine(Application.dataPath, "WX-WASM-SDK-V2/Editor/TextureEditor/Node/pngquant" + (Application.platform == RuntimePlatform.WindowsEditor ? ".exe" : string.Empty));
63+
return Path.Combine(UnityUtil.GetWxSDKRootPath(), "Editor/TextureEditor/Node/pngquant" + (Application.platform == RuntimePlatform.WindowsEditor ? ".exe" : string.Empty));
6464
}
6565

6666
public static void TestASTC()

0 commit comments

Comments
 (0)