AiController 빌드 오류 수정(전처리기 위치 변경)
This commit is contained in:
parent
66711e9851
commit
8b7f3a14fd
@ -62,10 +62,12 @@ namespace BlueWaterProject
|
||||
|
||||
#region Unity built-in function
|
||||
|
||||
#if UNITY_EDITOR
|
||||
private void OnDrawGizmosSelected()
|
||||
{
|
||||
DrawGizmosInFieldOfView();
|
||||
}
|
||||
#endif
|
||||
|
||||
protected virtual void Awake()
|
||||
{
|
||||
@ -197,8 +199,7 @@ namespace BlueWaterProject
|
||||
[field: SerializeField] public TargetInfo TargetInfo { get; set; } = new();
|
||||
|
||||
private const int TARGET_MAX_SIZE = 30;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
|
||||
public void DrawGizmosInFieldOfView()
|
||||
{
|
||||
if (!IsDrawGizmosInFieldOfView) return;
|
||||
@ -212,7 +213,6 @@ namespace BlueWaterProject
|
||||
|
||||
Debug.DrawLine(myPos, TargetInfo.transform.position, Color.red);
|
||||
}
|
||||
#endif
|
||||
|
||||
public IEnumerator FindTarget()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user