Unity Basics - Animation Events

Unity Basics - Animation Events

MetalStorm Games

3 года назад

35,262 Просмотров

Unity Basics - Animation Events
Be sure to check out my Unity for Complete Beginners course on Udemy here: https://www.udemy.com/course/learning-unity-and-c-for-complete-beginners/?referralCode=23B51187C8A97B78D1CF

In this video I show you how to use Animation Events on your Animation Clips so that you can call a Public method from any script attached to your GameObject.

This can be used for any type of animation when you want code to run at a very specific time. Some examples would be for a fighting game where you want to take away health from an enemy right at the moment of impact instead of when the animation clip for the attack starts.

Below is a link to the assets that I used in this video

Synty Polygon Apocalypse Low Poly Assets:
https://assetstore.unity.com/packages/3d/environments/urban/polygon-apocalypse-pack-154193

Other videos mentioned
Unity Basics - RenderTextures : https://youtu.be/mm69034k7eo
Unity Basics - 3D Video Billboards : https://youtu.be/M8ZorqPoNSM
Unity Basics - AOE Attacks and Splash Damage with OverLapSpheres : https://youtu.be/ode1-TwzNT0


Discord Server
https://discord.gg/kUpqwVEXmd​

Twitter
https://twitter.com/MetalStormGames

#Unity​ #GameDev #Tutorial

Тэги:

#unity_basics #unity_beginner #unity_tutorial #unity_beginner_tutorial #unity_animation_event #unity_animationevent #animation_event #animation_events #unity_animation_events #unity_synty #synty_apocalypse #unity_synty_apocalypse #unity_how_to_run_code_from_animation #unity_simple_tutorial #unity_animation #unity_beginner_animation #unity_animation_tutorial #unity_how_to_animation #unity_events #unity_event #unity_tip #unity_tips
Ссылки и html тэги не поддерживаются


Комментарии: