Ai archer DefensePos Gizmos 위치 오류 수정
This commit is contained in:
parent
4437e44106
commit
057c491c42
@ -47,7 +47,8 @@ namespace BlueWaterProject
|
|||||||
if (EnemyStat.DefenseType == EDefenseType.DEFENDER)
|
if (EnemyStat.DefenseType == EDefenseType.DEFENDER)
|
||||||
{
|
{
|
||||||
Gizmos.color = Color.red;
|
Gizmos.color = Color.red;
|
||||||
Gizmos.DrawWireSphere(defensePos, EnemyStat.DefenseRange);
|
var startPos = Application.isPlaying ? defensePos : transform.position;
|
||||||
|
Gizmos.DrawWireSphere(startPos, EnemyStat.DefenseRange);
|
||||||
}
|
}
|
||||||
|
|
||||||
Gizmos.color = Color.blue;
|
Gizmos.color = Color.blue;
|
||||||
|
@ -48,7 +48,8 @@ namespace BlueWaterProject
|
|||||||
if (PirateStat.DefenseType == EDefenseType.DEFENDER)
|
if (PirateStat.DefenseType == EDefenseType.DEFENDER)
|
||||||
{
|
{
|
||||||
Gizmos.color = Color.red;
|
Gizmos.color = Color.red;
|
||||||
Gizmos.DrawWireSphere(defensePos, PirateStat.DefenseRange);
|
var startPos = Application.isPlaying ? defensePos : transform.position;
|
||||||
|
Gizmos.DrawWireSphere(startPos, PirateStat.DefenseRange);
|
||||||
}
|
}
|
||||||
|
|
||||||
Gizmos.color = Color.blue;
|
Gizmos.color = Color.blue;
|
||||||
|
Loading…
Reference in New Issue
Block a user