```
feat(gameplay): 更新法师主角预制体和法师生怪功能 - 添加了召唤师主角预制体文件 - 更新法师生怪预制体,替换为新的火球弹道效果 - 修复投射物斜向发射问题,统一使用Quaternion.identity旋转 fix(projectile): 修复远程投射物旋转和目标锁定问题 - 修正Projectile组件,让投射物保持水平飞行并始终朝向目标 - 修改UnitBase中投射物实例化逻辑,不再传递spawn point的旋转 - 解决法师/弓箭手attackPos骨骼动画影响导致火球和箭矢斜向发射的问题 refactor(texture): 优化火焰球纹理导入设置 - 禁用mipmap以提升显示效果 - 启用alpha透明度支持 - 将纹理类型改为Sprite模式 - 启用wrap模式改善渲染表现 docs(update): 记录远程弹道视觉方案调整和投射物修复说明 ```
This commit is contained in:
1 parent
420cec1a00
commit
1ec6f52172
23 files changed
+10300
-25
No files matched your search
@@ -944,7 +944,7 @@ public class UnitBase : MonoBehaviour
|
||||
GameObject projectileObject = Instantiate(
|
||||
projectilePrefab,
|
||||
projectileSpawnPoint.position,
|
||||
projectileSpawnPoint.rotation);
|
||||
Quaternion.identity);
|
||||
Projectile projectile = projectileObject.GetComponent<Projectile>();
|
||||
if (projectile != null)
|
||||
{
|
||||
@@ -967,7 +967,7 @@ public class UnitBase : MonoBehaviour
|
||||
GameObject projectileObject = Instantiate(
|
||||
projectilePrefab,
|
||||
projectileSpawnPoint.position,
|
||||
projectileSpawnPoint.rotation);
|
||||
Quaternion.identity);
|
||||
Projectile projectile = projectileObject.GetComponent<Projectile>();
|
||||
if (projectile != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user