애니메이터 컨트롤러는 Unity에 생성되는 에셋이며, 캐릭터 또는 오브젝트의 애니메이션 세트를 배치하고 관리하기 위한 것입니다. 대부분의 경우, 여러 애니메이션을 이용하여 게임 내에서 특정 상황이 일어났을 때 에셋을 바꿔가면서 사용합니다. 예를 들어, 스페이스바를 누를 때마다 걷기 애니메이션에서 점프 애니메이션으로 전환하는 경우 등이 있습니다. 단일 애니메이션 클립 밖에 없는 경우에도 이것을 게임 오브젝트에 사용하기 위해서는 애니메이터 컨트롤러에 배치해야 합니다.
컨트롤러는 안에서 사용하고 있는 애니메이션 클립에 대한 레퍼런스를 가지고 있으며, State Machine 이라는 것을 사용하여 다양한 애니메이션 상태와 그 사이 사이의 전환을 관리합니다. 상태 머신은 일종의 순서도 또는 Unity 내에서 비주얼 프로그래밍 언어로 작성된 간단한 프로그램으로도 이해할 수 있습니다. 상태 머신에 대한 자세한 내용은 여기를 참조하십시오.
어떤 상황에서는 애니메이터 컨트롤러가 자동으로 만들어집니다. 예를 들어, 애니메이션 창을 사용하여 새로운 게임 오브젝트의 애니메이션을 시작할 때와 같은 경우입니다.
그 밖의 경우에는, 새로운 애니메이터 컨트롤러 에셋을 직접 만듭니다. 여기에 애니메이션 클립을 드래그하고 각 클립 사이에 전환을 생성함으로써 상태 머신이 형성되어 상태를 추가해 나갈 수 있습니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.