OldBlueWater/BlueWater/Assets/02.Scripts/Interface/IAiView.cs
NTG_Lenovo 58a582c176 Layer, Tag, Physic 초기화 및 재설정
+ IView, IAiView 분리 및 수정
+ ObjectPool 기능 추가 준비 중
2023-10-18 16:28:15 +09:00

46 lines
1.2 KiB
C#

using UnityEngine;
using UnityEngine.AI;
// ReSharper disable once CheckNamespace
namespace BlueWaterProject
{
public interface IAiView : IView
{
/// <summary>
/// NavMeshAgent 컴포넌트 사용
/// </summary>
NavMeshAgent Agent { get; set; }
/// <summary>
/// 자신의 콜라이더 컴포넌트 사용
/// </summary>
Collider MyCollider { get; set; }
/// <summary>
/// 지켜야 되는 중심 위치
/// </summary>
Vector3 DefensePos { get; set; }
/// <summary>
/// 이동속도
/// </summary>
float MoveSpd { get; set; }
/// <summary>
/// Idle 상태에서의 랜덤으로 움직일지 여부
/// </summary>
bool IsRandomMove { get; set; }
/// <summary>
/// 랜덤으로 움직일 거리
/// </summary>
float RandomMoveRange { get; set; }
/// <summary>
/// 특정 범위 밖을 나갔는지 확인 하는 함수
/// </summary>
/// <returns></returns>
public bool GoOutOfBounds();
}
}