HOW TO PLAY ANIMATION IN KEY PRESS WITH C# UNITY TUTORIAL

preview_player
Показать описание
In this Mini Unity Tutorial I show you how you can write some code which allows you to play an animation when you press a key.

-----------------------------------

✦ Start your game development career today in Unity 2017 - Unity 2018.1 and even Unity 2019.2 and learn how to make a game through the power of Unity. Every Unity Tutorial at JV Unity costs NOTHING from you, and any support received through YouTube, Patreon or Facebook is greatly appreciated.

-----------------------------------
-----------------
Who Is Jimmy Vegas?
-----------------
Jimmy Vegas is one of the top YouTube tutorial developers. In depth Unity Tutorials teaching you how to make a game in unity 3d! My unity tutorials include development, programming in C#, coding logic and more. For beginners, it's easy how to learn unity with tips and tricks you can make a game for FREE. I provide FREE assets for you to use and learn.

Start your game development career today, for free. #JIMMYVEGAS #UnityTutorial #UnityTutorialForBeginners
Рекомендации по теме
Комментарии
Автор

Just exactly what I needed to see, as a beginner, this looks easy to follow and I have played a little bit with the animation, so all I need now are all the animations for my character, you made it look simple Jimmy.

sketchygaz
Автор

Finally, after 2 days...




I was able to make my character crouch

Ball_Zach
Автор

Thanks Jimmy for this. You are a real help. Maybe one day I can live the dream of making my own games for a living. I hope you never stop uploading. Thanks again!

akashverma
Автор

Great video but how do you stop the animation after one play cycle?

dariusdunson
Автор

How would you set it to just play once through the animation and then go back to idle instead of looping?

murraymon
Автор

IVE BEEN AT THIS THE ENTIRE DAY BLESS YOUR SOUL THANK YOUUU

bee
Автор

I’ve been trying to do this for 4 GODAM HOURS AND IT WAS THIS EASY.
Thank you for making this

lurky
Автор

Thank you very much man! this is a very simple tutorial and it worked

anasjohnson
Автор

Thank you so YOU solved a very serious problem for me!!! Thanks and good luck!

anpusha
Автор

Always good information...easily explained and shown...thanks again Jimmy. My game would still be in the crawling stage if not for your tutorials.

CamperJohn
Автор

I think this useful tutorial for testing interpolation animation, or some transtition btw both animation, special for riggers and animator who wants to test animations after the final product.

leatherandpoemscharmyman
Автор

Great video. That helped a great deal. Big thanks.

vivanecrosis
Автор

How can I detect when the animation ends so I can enable my canMove variable? Thanks!

ErenBR
Автор

ok for me I'm using an amination pack and 3rd person controller with all the codes done but i want to add a new input like crouch for example how do i do that

xdwaveyxd
Автор

How I can 1kew perform the all three animation when I press 1 3 times?

a.technology
Автор

Great video!! How can I play a animation using c++? Im writting a script for gta5, and cant seem to find the right native/function to play animation. Thankx for the help in advance!

Games_Graphics
Автор

Hi, a noob question:

Does this mean I can use this method to create gameplay mechanics?

Apply it to first person animations and 3rd?

edpearl
Автор

how do i make the positive button the space key

buster
Автор

im using the script to make fps running animations and i want to make the animation play only while the w key is being pressed. any fixes?

Ifjdjojdjxoxlsh
Автор

how do i make the animation run one time only?

superrafy