1
This commit is contained in:
@@ -7,7 +7,7 @@ using UnityEngine;
|
||||
/// 闪电类特殊鱼 死亡玩法 通用基类(HHWK 闪电鱼 SDY 与 FLZY 闪电鱼/电鳗 共用同一套代码)。
|
||||
///
|
||||
/// 流程:
|
||||
/// 1. 以死亡位置为中心,detectRange 范围内找普通鱼(0=全屏);
|
||||
/// 1. 以死亡位置为中心,先 circleRange 圈内找普通鱼,不够再从全屏补;
|
||||
/// 2. 随机取 lightningCount 条,从中心向每条鱼画折线闪电(LineRenderer);
|
||||
/// 3. 停 lightningWait 秒 → 清闪电 → 每个终点播爆炸特效(可选,没配不播但照常杀);
|
||||
/// 4. 每个终点 explosionRadius 范围内的普通鱼全部击杀
|
||||
@@ -290,7 +290,7 @@ public class ShanDian_DieEvent : DieEffect_TSY
|
||||
private void OnDrawGizmosSelected()
|
||||
{
|
||||
Gizmos.color = new Color(1, 1, 0, 0.3f);
|
||||
Gizmos.DrawWireSphere(transform.position, detectRange > 0f ? detectRange : 5f);
|
||||
Gizmos.DrawWireSphere(transform.position, circleRange > 0f ? circleRange : 5f);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 634da16213238984983661ddd684a68d
|
||||
guid: 4399519573de01547a346680a7f34de2
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -89,7 +89,7 @@ MonoBehaviour:
|
||||
dieEffectTesyNum: 0
|
||||
minBJCount: 10
|
||||
maxBJCount: 15
|
||||
paoTaiPrefab: {fileID: 5309434523107119079, guid: 634da16213238984983661ddd684a68d,
|
||||
paoTaiPrefab: {fileID: 2486436483341180756, guid: 4399519573de01547a346680a7f34de2,
|
||||
type: 3}
|
||||
bulletPrefab: {fileID: 6397323561931113521, guid: fd4b4386a35690c4ca8e02bf82e71427,
|
||||
type: 3}
|
||||
|
||||
Reference in New Issue
Block a user