-
[Unity][Animancer] Layer pause / resume 하는 법앱 개발/Unity, C# 2024. 12. 13. 21:21
항상 생각하는 거지만 매뉴얼을 잘 보자..
Animancer - Playing Animations
After you Download Animancer, you can add an AnimancerComponent to your model and control it with a script: Don't create an Animator Controller like you normally would. Animancer doesn't need them. Add a reference to the AnimancerComponent (let’s call it
kybernetik.com.au
private void OnPlayButtonClicked() { if (_player == null || _player.Layers[1].CurrentState == null) return; _player.Layers[1].CurrentState.IsPlaying = !playButton.IsSelected; }
'앱 개발 > Unity, C#' 카테고리의 다른 글
[Unity][UI Toolkit] UI Toolkit 사용하면서 살짝 헤맨 부분들 (0) 2024.12.31 [Unity][UI Toolkit] Localization 적용 방법 (0) 2024.12.31 [Unity][UI Toolkit] uss에서 gap 옵션(child 사이 spacing) 구현하기 [USS] (0) 2024.11.29 [Unity][UI Toolkit] uss에서 first-child, last-child 구현하기 [USS] (0) 2024.11.29 [Unity][C#] Event must be of a delegate type 에러 해결 (0) 2024.06.17