This commit is contained in:
wuyanchen 2025-12-16 16:10:57 +08:00
parent 39f6c63982
commit 7813a6a868
2 changed files with 7 additions and 8 deletions

View File

@ -495,7 +495,7 @@ public class Shot : MonoBehaviour
() =>
{
return bulletObj == null ? transform.position : bulletObj.position; // µ±Ç°Î»Öã¨Getter£©
},
},
(Vector3 pos) =>
{
if (bulletObj != null)
@ -519,15 +519,14 @@ public class Shot : MonoBehaviour
ShotBulletComplete(bulletComp, currentShotCount, muzzleObj);
});
// 9. 爆炸火焰自动隐藏0.2秒后)
DOVirtual.DelayedCall(0.2f, () =>
if (muzzleObj != null)
{
if (muzzleObj != null)
// 9. 爆炸火焰自动隐藏0.2秒后)
DOVirtual.DelayedCall(0.2f, () =>
{
PoolTool.RecycleMuzzleToPool(muzzleObj, this.muzzlePool, this.activeImpactPool);
}
});
});
}
});
}
}

View File

@ -29,7 +29,7 @@ MonoBehaviour:
HideAfterCallMain: 1
preloadFiles:
Orientation: 0
bgImageSrc: Assets/TowerDefence/Images/SplashScreen/SplashScreen.jpg
bgImageSrc: Assets/Game1/Images/SplashScreen/SplashScreen2.jpg
dataFileSubPrefix:
maxStorage: 200
defaultReleaseSize: 31457280