Add the WeChat minigame SDK and a base-package export that leaves gameplay on the CDN.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-10-22 09:24:59 +08:00
co-authored by Cursor
parent 079313fb06
commit 6ebc9401ce
87 changed files with 4969 additions and 38 deletions
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 407ea49dfb232a24ab6d4131621abb9f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,114 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1795359250, guid: 1cf430f187a0b40eda7f668318d8be23, type: 3}
m_Name: MiniGameConfig
m_EditorClassIdentifier:
ProjectConf:
projectName: AIGame
Appid:
CDN: https://www.xworld.ren/wechat/1.0.0/minigame/
assetLoadType: 0
compressDataPackage: 0
VideoUrl:
relativeDST: Build/WeChat/Base
DST: D:\UD\AI\AIGame\AIClient\Build\WeChat\Base
StreamCDN:
bundleHashLength: 32
bundlePathIdentifier: StreamingAssets;
bundleExcludeExtensions: json;
AssetsUrl:
MemorySize: 496
HideAfterCallMain: 1
preloadFiles:
Orientation: 0
bgImageSrc: Assets/WX-WASM-SDK-V2/Runtime/wechat-default/images/background.jpg
dataFileSubPrefix:
maxStorage: 200
defaultReleaseSize: 31457280
texturesHashLength: 8
texturesPath: Assets/Textures
needCacheTextures: 1
loadingBarWidth: 240
needCheckUpdate: 0
disableHighPerformanceFallback: 0
IOSDevicePixelRatio: 0
SDKOptions:
UseFriendRelation: 0
UseCompressedTexture: 0
UseMiniGameChat: 0
PreloadWXFont: 0
disableMultiTouch: 0
CompileOptions:
DevelopBuild: 0
AutoProfile: 0
ScriptOnly: 0
Il2CppOptimizeSize: 0
profilingFuncs: 1
Webgl2: 1
fbslim: 1
DeleteStreamingAssets: 0
ProfilingMemory: 0
CleanBuild: 0
CustomNodePath:
autoAdaptScreen: 0
showMonitorSuggestModal: 1
enableProfileStats: 0
enableRenderAnalysis: 0
enablePerfAnalysis: 0
iOSAutoGCInterval: 10000
enableIOSPerformancePlus: 0
enableiOSMetal: 0
enableEmscriptenGLX: 0
brotliMT: 1
enableWasm2023: 0
enableRenderThread: 0
CompressTexture:
halfSize: 0
useDXT5: 0
bundleSuffix: bundle
parallelWithBundle: 0
bundleDir:
dstMinDir:
debugMode: 0
force: 0
PlayerPrefsKeys: []
FontOptions:
CJK_Unified_Ideographs: 1
C0_Controls_and_Basic_Latin: 1
CJK_Symbols_and_Punctuation: 1
General_Punctuation: 1
Enclosed_CJK_Letters_and_Months: 1
Vertical_Forms: 1
CJK_Compatibility_Forms: 1
Miscellaneous_Symbols: 1
CJK_Compatibility: 1
Halfwidth_and_Fullwidth_Forms: 1
Dingbats: 1
Letterlike_Symbols: 1
Enclosed_Alphanumerics: 1
Number_Forms: 1
Currency_Symbols: 1
Arrows: 1
Geometric_Shapes: 1
Mathematical_Operators: 1
CustomUnicode:
MultiPackageMerge:
outputPath:
devPluginId:
packageConditions:
- condition: config.features?.preferThreads === true && canUseThread
packageSuffix: mt
packagePath:
defaultPackagePath:
commonDirectories:
commonFiles:
framework: unity
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 176bad2e6b49135449319db3f5c45e85
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: fbedbbb982ae504478e4554a1fb6c2b8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5266f05ed21e53042b331846dd89f421
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,5 @@
<linker>
<assembly fullname="wx-runtime" preserve="all"/>
<assembly fullname="LitJson" preserve="all"/>
<assembly fullname="Wx" preserve="all"/>
</linker>
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 188dd3d24850f4f46b99a49de353fe1a
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 01f9e73c54242f248921f9170391fb16
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 682d1632de3218e44adbc61ca7d10bff
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

@@ -0,0 +1,153 @@
fileFormatVersion: 2
guid: 9ad4784e7636e004aab6351eee1347ea
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant: