OldBlueWater/BlueWater/Assets/02.Scripts/Interface/IAiMover.cs
NTG_Lenovo dc00036723 #29 유닛 이동 방식 수정 중
1. IDamageable 인터페이스 수정
2. Ai 프리팹 크기 변경, 깃발 LookAt 추가
3. Boat 공격 선택 매개변수 제거
2023-08-31 16:38:08 +09:00

30 lines
649 B
C#

using System.Collections;
using UnityEngine;
// ReSharper disable once CheckNamespace
namespace BlueWaterProject
{
public enum MoveType
{
NONE, // 미설정
FIXED, // 자리를 지키는 AI
MOVE // 자리를 움직이는 AI
}
public interface IAiMover : IAiBase
{
// Properties
MoveType AttackMoveType { get; set; }
MoveType BeAttackedMoveType { get; set; }
bool IsCommanded { get; set; }
// Functions
void CommandMove(Vector3 targetPos);
IEnumerator CommandMoveCoroutine(Vector3 targetPos);
}
}