feat(projectile): 更新法师火球材质和粒子效果

- 更换火球拖尾和核心材质的着色器为透明渲染模式
- 添加GRABPASS禁用以优化渲染性能
- 调整粒子系统的生命周期、速度和尺寸参数
- 启用粒子系统跟随变换移动功能
- 为火球预制体添加胶囊碰撞体用于触发检测

fix(unit): 优化攻击距离判断逻辑

- 在攻击状态下增加1.0f的距离容差
- 避免目标轻微移动导致攻击状态频繁切换
- 提升战斗体验的稳定性

refactor(character): 调整法师角色缩放比例

- 将法师预制体的缩放从100倍调整为正常比例(1,1,1)
- 更新攻击伤害值从默认值改为90
- 修改攻击持续时间从2秒改为2.4秒
- 切换投射物预设为新的火球预制体
```
This commit is contained in:
huadexuan committed 2026-09-22 22:38:10 +08:00
1 parent 1ec6f52172
commit eb7b424efd
16 files changed
+843 -25

No files matched your search

@@ -8,17 +8,18 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: "\u6CD5\u5E08\u706B\u7403\u6838\u5FC3"
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
m_Shader: {fileID: 211, guid: 0000000000000000f000000000000000, type: 0}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_LightmapFlags: 0
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
disabledShaderPasses:
- GRABPASS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
@@ -27,6 +28,14 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 5663d75a82b776f42ac385ae0eeebe2b, type: 3}
m_Scale: {x: 1, y: 1}
@@ -34,9 +43,35 @@ Material:
m_Ints: []
m_Floats:
- PixelSnap: 0
- _BlendOp: 0
- _BumpScale: 1
- _CameraFadingEnabled: 0
- _CameraFarFadeDistance: 2
- _CameraNearFadeDistance: 1
- _ColorMode: 0
- _Cull: 2
- _Cutoff: 0.5
- _DistortionBlend: 0.5
- _DistortionEnabled: 0
- _DistortionStrength: 1
- _DistortionStrengthScaled: 0
- _DstBlend: 0
- _EmissionEnabled: 0
- _EnableExternalAlpha: 0
- _FlipbookMode: 0
- _LightingEnabled: 0
- _Mode: 0
- _SoftParticlesEnabled: 0
- _SoftParticlesFarFadeDistance: 1
- _SoftParticlesNearFadeDistance: 0
- _SrcBlend: 1
- _ZWrite: 1
m_Colors:
- _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _ColorAddSubDiff: {r: 0, g: 0, b: 0, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _Flip: {r: 1, g: 1, b: 1, a: 1}
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0}
m_BuildTextureStacks: []