애니메이션의 속성을 내가 원하는 타이밍에 끄고 싶었는데
layer을 사용하면 편하더라
weight(가중치)를 조절하면 됨
참고
https://docs.unity3d.com/ScriptReference/Animator.SetLayerWeight.html
Unity - Scripting API: Animator.SetLayerWeight
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
'Unity > 잡학 사전' 카테고리의 다른 글
코드 작성 시 (0) | 2022.11.02 |
---|---|
[Unity] for문에서 addlistener (0) | 2022.11.01 |
[Unity] Particle System (0) | 2022.10.20 |
[Unity/UI] 버튼 영역 설정 - 다양한 모양 대응 (0) | 2022.10.06 |
[Unity] Sprite Renderer (0) | 2022.09.27 |