플레이어블 API는 플레이어블 그래프(PlayableGraph)로 알려진 트리 모양의 구조의 데이터 소스를 정리 및 평가하여 툴이나 효과 및 이외 다른 게임플레이 메커니즘을 생성하는 방식을 제공합니다. 플레이어블 그래프를 이용해 여러 데이터 소스를 믹스, 블렌드, 수정할 수 있으며 하나의 출력을 통해 플레이할 수 있습니다.
플레이어블 API는 애니메이션, 오디오, 그리고 스크립트를 지원합니다. 또한 스크립팅을 통해 애니메이션 시스템및 오디오 시스템과 상호작용할 수 있도록 합니다.
현재 플레이어블 API는 애니메이션, 오디오와 스크립트에서만 지원되지만, 향후에는 비디오 및 기타 시스템에서까지 사용될 수 있습니다.
애니메이션 시스템은 이미 그래프를 수정할 수 있는 툴이 포함되어 있습니다. 다만 상태 머신 시스템은 애니메이션을 재생만 할 수 있습니다. 재생 가능한 API는 더 유연하게 설계되어 다른 시스템도 지원할 수 있으며, 상태 머신으로는 불가능한 그래프 생성 역시 가능합니다. 이렇게 생성된 그래프는 데이터 흐름을 나타내며, 각 노드가 어떤 데이터를 생산하고 사용하는지 보여줍니다. 또한 그래프와 시스템은 1:1 관계가 아닙니다. 하나의 그래프가 애니메이션, 오디오, 스크립트에 대한 노드를 전부 포함할 수도 있습니다.
플레이어블 API를 통해 동적 애니메이션 혼합을 할 수 있습니다. 동적 애니메이션 혼합이란, 씬의 오브젝트가 스스로 애니메이션을 제공할 수 있도록 하는 것입니다. 예를 들어, 무기, 상자, 함정의 애니메이션을 플레이어블 그래프에 동적으로 추가한 후 특정 시간 동안 사용할 수 있습니다.
플레이어블 API로 AnimatorController 에셋을 생성 및 관리하는 간접 비용 없이 하나의 애니메이션을 쉽게 재생할 수 있습니다.
플레이어블 API을 이용해 사용자는 블렌딩 그래프를 동적으로 생성하고 각 프레임의 블렌드 가중치를 조정할 수 있습니다.
플레이어블 그래프는 상황에 따라 런타임 시 생성되며 필요 시 플레이어블 노드를 추가합니다. 플레이어블 그래프는 노드가 활성화 및 비활성화되는, 사이즈가 하나인 거대한 그래프가 아니라 현 상황의 필요에 따라 맞춤형 그래프를 만듭니다.
2017–07–04 페이지 게시됨
2017–07–04 Unity의 새로운 기능 2017.1 NewIn20171
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.