·
This commit is contained in:
parent
39f6c63982
commit
7813a6a868
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user