무기 교체, 공격 애니메이션 교체는 어떤식으로 해야할까
Animator Override Controller를 사용하자
Animator Override Controller는 알고있었는데 Runtime에서 Animation Clip 교체용으로 사용하는 용도인줄은 몰랐다
Animator Override Controller의 사용 용도
1. Editor에서 Animator Override Controller를 만들어서 사용
2. Runtime때 Animation Clip 교체할 때 사용 (기본 사용 용도)
3. Runtime때 여러 Animation Clip 교체할 때 사용 (응용 사용법)
***툴의 API는 항상 잘 읽어보자***
Animator Override Controller 유니티 도큐
Unity - Scripting API: AnimatorOverrideController
Success! Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable. Close
docs.unity3d.com
'프로그래밍' 카테고리의 다른 글
Replacement Shader (0) | 2022.12.26 |
---|---|
[BoxCast 시각화] (0) | 2022.10.19 |
[Git Hub] 진행중인 프로젝트 새 repositories에 올리기 (0) | 2021.03.12 |
[유니티] World Space 캔버스 (0) | 2021.01.15 |
[유니티] 스크린샷과 스포이드 + 슬라임 액체 다이브 (0) | 2021.01.01 |