26 lines
526 B
C#
26 lines
526 B
C#
![]() |
using UnityEngine;
|
||
|
|
||
|
// ReSharper disable once CheckNamespace
|
||
|
namespace BlueWaterProject
|
||
|
{
|
||
|
public enum MoveType
|
||
|
{
|
||
|
NONE, // 미설정
|
||
|
FIXED, // 자리를 지키는 AI
|
||
|
MOVE // 자리를 움직이는 AI
|
||
|
}
|
||
|
|
||
|
public interface IAiMover : IAiBase
|
||
|
{
|
||
|
// Properties
|
||
|
MoveType MoveType { get; set; }
|
||
|
|
||
|
bool IsCommanded { get; set; }
|
||
|
|
||
|
// Functions
|
||
|
void UpdateMovement();
|
||
|
|
||
|
void MoveTarget(Vector3 targetPos);
|
||
|
}
|
||
|
}
|