feat(materials): 更新材质贴图纹理和缩放参数

- 修改CoreBattleGround.mat材质的MainTex纹理GUID为4435756e5310e408fb125e8f4bcee9bd
- 调整CoreBattleGround.mat材质中EmissionMap和MainTex的缩放比例从{x: 1, y: 1}改为{x: 3, y: 3}

fix(models): 调整建筑模型全局缩放比例

- 将主要基地模型的globalScale从3调整为5
- 将水晶矿模型的globalScale从1调整为7,对应骨骼缩放从1调整为0.07
- 将机械出兵点模型的globalScale从1调整为7,对应骨骼缩放从1调整为0.07

feat(textures): 为模型添加纹理贴图

- 为水晶矿模型材质添加MainTex纹理,GUID为c24a978a0c9ad4dabb831e4b2bff0e2f
- 为机械出兵点模型材质添加MainTex纹理,GUID为fb52fc095c9554db895dde01ba8a8b6c
```
This commit is contained in:
huadexuan committed 2026-09-18 18:06:09 +08:00
1 parent 7b037dd467
commit 0e7de5f885
57 files changed
+2434 -866

No files matched your search

+6 -1
View File
@@ -115,10 +115,11 @@ public class Projectile : MonoBehaviour
}
UnitBase targetUnit = hitObject.GetComponentInParent<UnitBase>();
CrystalMineCapture crystalMine = hitObject.GetComponentInParent<CrystalMineCapture>();
BuildingHealth targetBuilding = hitObject.GetComponentInParent<BuildingHealth>();
WorldHealthBar targetHealthBar = hitObject.GetComponentInParent<WorldHealthBar>();
if (targetUnit == null && targetBuilding == null && targetHealthBar == null)
if (targetUnit == null && crystalMine == null && targetBuilding == null && targetHealthBar == null)
{
return;
}
@@ -129,6 +130,10 @@ public class Projectile : MonoBehaviour
{
targetUnit.ReceiveDamage(damage, owner);
}
else if (crystalMine != null)
{
crystalMine.ReceiveCaptureDamage(damage, owner);
}
else if (targetBuilding != null)
{
targetBuilding.ReceiveDamage(damage, owner);