ProjectDDD/Assets/_DDD/_Scripts/RestaurantCharacter/Interfaces/IAiMovement.cs
Jeonghyeon Ha c8bb7b5e18 RestaurantCharacter 폴더 구조 정리
- Core 폴더: 기본 컴포넌트들 (RestaurantCharacter, Animation, Movement, Interaction, Visual, MovementConstraint)
- Interfaces 폴더: 인터페이스들 (IAiMovement, ICurrentDirection, IRestaurantMovementConstraint)
- Player 폴더: 기존 유지
- Npc 폴더: 기존 유지 (Customer 하위 폴더 포함)
2025-08-19 17:18:13 +09:00

26 lines
778 B
C#

using UnityEngine;
namespace DDD
{
public interface IAiMovement
{
Vector3 CurrentPosition { get; }
Vector3 Destination { get; }
float CurrentSpeed { get; }
bool IsMoving { get; }
void EnableMove();
void DisableMove();
void PlayMove();
void StopMove();
void SetMoveSpeed(float speed);
bool TryMoveToPosition(Vector3 position);
bool TryMoveToTarget(Collider targetCollider);
Vector3 GetRandomBetweenTwoPoints(Vector2? normalizedRange = null);
bool TryTeleportToPosition(Vector3 position);
bool HasReachedDestination();
bool IsPositionMovable(Vector3 endPosition);
bool TryMoveToRandomPositionInRange(float range, int graphIndex = 0);
}
}