250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Effective C#
- 깃허브
- shader
- 사용법
- 프로퍼티
- 리깅
- 속성
- 애님
- github
- unity
- 익명 타입
- Final IK
- 쓰는 법
- error
- 튜토리얼
- 애니메이션
- tutorial
- 에러
- 파이널 IK
- 쉐이더
- NavMesh
- c#
- 리팩토링
- 유니티
- 최적화
- 2판
- 오류
- 메모리
- 유니티 그래픽 최적화
- 유니티 그래픽스 최적화 스타트업
Archives
- Today
- Total
참치김밥은 최고의 한식이다
[Unity] Navmesh agent destination에 도착했는지 체크하는 법 본문
private IEnumerator Patrol()
{ while (_patrolling)
{ if (_agent.pathPending)
yield return null;
if (_agent.remainingDistance < _agent.stoppingDistance)
{ SetNextWaypointAsTarget(); }
yield return null;
}
}
출처 :
https://discussions.unity.com/t/nav-remaining-distance-wrong/108541/4
728x90