조개 사운드

This commit is contained in:
2026-06-24 14:40:39 +09:00
parent 59bf6f0555
commit 513fa94ab9
28 changed files with 626 additions and 4 deletions

View File

@@ -66,8 +66,10 @@ public void Relocate(GameObject target, Transform destination)
if (target.TryGetComponent(out NavMeshAgent agent) && agent.isOnNavMesh)
{
Debug.Log($"엔드포지션 : {destination.position}");
agent.Warp(destination.position);
target.transform.rotation = destination.rotation;
Debug.Log($"이동한포지션 : {target.transform.position}");
}
else
{