조개 사운드
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user