feat(Enemy): 添加敌人攻击动画速度控制功能

- 新增attackDuration属性用于控制完整攻击动作时长
- 实现攻击动画速度动态调整,支持自定义攻击持续时间
- 添加健康条显示组件到敌人类
- 增加物理材质配置优化碰撞效果

- 添加微信小游戏平台支持和适配
- 集成自适应性能包和微信小游戏SDK
- 配置项目构建设置支持多平台发布
- 更新质量设置以适配不同目标平台

- 调整场景中物体位置和旋转参数
- 修复角色控制器材质引用问题
- 优化敌人AI移动和攻击逻辑
```
This commit is contained in:
huadexuan committed 2026-08-23 22:23:15 +08:00
1 parent b807bb80ec
commit 48dfa0d95d
38 files changed
+2295 -36

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: C3hM4SulASgXeYihB+EnKvJyBln0ku6DATNfzZzi6wpZORbnLwnZ5iA=
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,102 @@
%YAML 1.1
%TAG !u! tag:yousandi.cn,2023:
--- !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:
Appid:
CDN:
assetLoadType: 0
compressDataPackage: 0
VideoUrl:
relativeDST:
DST:
StreamCDN:
bundleHashLength: 32
bundlePathIdentifier: StreamingAssets;
bundleExcludeExtensions: json;
AssetsUrl:
MemorySize: 256
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: 1
profilingFuncs: 1
Webgl2: 1
fbslim: 0
DeleteStreamingAssets: 1
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
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:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: Xi4avXyqUy5sTy09OXtN/vGNnJJfYnk1VPCWeKYrQuGOg5j63VIfsCk=
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: Bnsfsi78VHKF4JhUpCLbzAzz5oQ9i98EfMITujVMd/gFCkEoCwcMHwQ=
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: Cy8d5Cr/VC+pjuCd+MczipiuYuqzFzvWvxES5FCPHR1VsEg+QVAP+Jk=
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: CXkf4C//B3Lz2lyWvcIGryIcjzIMaw98GfE6dnnbj/aZfVtTuBp4EvU=
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: CilJ4yj5Vy0tIYdp4K7ZZxBRxvkedLvdZPMyc4TrKp5XNUjjC8xFWdY=
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: Xn0b4SP4BSm8UmFnB3cp/cCJ0QNzpk7J5MGAA10V+3CmaRRJ/MlCPDU=
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

@@ -0,0 +1,149 @@
fileFormatVersion: 2
guid: B3oX4SmqAnsvuJG0DeH51XPp23ICNdmXbITXzZMcMhrjRlQvrwsS6dE=
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 14
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
webStreaming: 0
priorityLevel: 0
uploadedMode: 2
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
maxPlaceholderSize: 32
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
maxPlaceholderSize: 32
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: Server
maxTextureSize: 2048
maxPlaceholderSize: 32
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: WeixinMiniGame
maxTextureSize: 2048
maxPlaceholderSize: 32
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
doOverrideTextureManagerOperations: 0
platformOperationGroupSettings:
userData:
assetBundleName:
assetBundleVariant: