MENU

Fun & Interesting

Animator Transition Interrupt Sources, Explained | Unity Tutorial

LlamAcademy 22,740 lượt xem 2 years ago
Video Not Working? Fix It Now

Learn how Unity's Animator Transition Interrupt Sources work for all values, None, Current State, Next State, Current State then Next State, and Next State then Current State!

In this tutorial you'll see live examples of how not understanding how these work can negatively impact your game's polish feeling, and how to make it feel polished!

In-depth blog post from Unity that got this working in my own game, and I use as reference in this video: https://blog.unity.com/technology/wait-ive-changed-my-mind-state-machine-transition-interruptions

👨‍💻 Unusually, the code is not on GitHub because this is pulling live from my game. For most tutorials you can find the code on GitHub: https://github.com/llamacademy

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly

📚 Resources:
⚫ Interrupt Sources Blog Post: https://blog.unity.com/technology/wait-ive-changed-my-mind-state-machine-transition-interruptions
⚫ Unity Animator Manual Page: https://docs.unity3d.com/Manual/class-Animator.html
⚫ Unity Animator Transitions: https://docs.unity3d.com/Manual/class-Transition.html

🧡 Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:
🌟 Patreon: https://www.patreon.com/llamacademy
🌟 YouTube Member: https://www.youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video
📚 Take my Unity ShaderGraph Course:
https://www.gamedev.tv/p/unity-shader-graph?affcode=45216_kuvg0bp7
👕 Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/
💸 Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4
💸 Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publisher-sale?aid=1101l9QvC (affiliate)
💸 Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sale=true&orderBy=1&aid=1101l9QvC (affiliate)

Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.


Chapters:
00:00 Topic Introduction
00:37 What to expect from this video
01:20 Why you need to know about how interrupt sources work
02:10 Sample Animator Overview
02:59 Interruption Source: None
03:47 Interruption Source: Current State (including Ordered Interruption on/off)
05:11 Considerations for Changing States
06:50 Interruption Source: Next State (including Ordered Interruption on/off)
07:40 Interruption Source: Current State then Next State
08:32 Interruption Source: Next State then Current State
09:06 Final Thoughts & Support LlamAcademy

Comment