Master UI ANIMATIONS! - Unity UI tutorial

  Рет қаралды 176,626

Coco Code

Coco Code

Күн бұрын

Пікірлер: 98
@AndrewFomin
@AndrewFomin 3 жыл бұрын
Well done! Your free videos about Unity UI are much better and show more features than a course I bought. Thanks for putting so much effort into making clear and useful tutorials.
@RAH3RI
@RAH3RI 3 жыл бұрын
Hey I just started Unity development and your channel helps me a lot! Your explanations are simple and clear, always well detailed and easily understandable, which make me win a lot of time. I just wanted to say thank you, for sharing your knowledge!
@amogh2101
@amogh2101 3 жыл бұрын
I really like how you present information! The UI aspect is well done. Appreciate the high quality tutorial!
@PrashantUnity
@PrashantUnity 2 жыл бұрын
4K Quality Tutorial ❤❤❤❤❤❤❤❤❤❤❤❤
@arcay69
@arcay69 10 ай бұрын
for everyone who don't have the "Auto generate animation", it's because of the Animator component so delete it
@coolsai
@coolsai 3 жыл бұрын
most underrated channel ❤️👍🏻
@r.f886
@r.f886 3 жыл бұрын
Awesome Tutorial, this really deserves more than 10k likes. Please keep making great tutorials like this one.
@Chapali9a
@Chapali9a 3 жыл бұрын
Great content. I hope you do more Tweening tutorials. There arent many o youtube and yours is great.
@kboss1998
@kboss1998 3 жыл бұрын
GREAT VIDEOS & CONTENTS! Your channel deserve more views.
@denn501
@denn501 2 жыл бұрын
Exactly what I was looking for Thank you so!!
@HDClips0801
@HDClips0801 5 ай бұрын
This was super helpful, thank you so much!
@SuperTungbi
@SuperTungbi 3 жыл бұрын
great tutorial, nice and clear voice, really good man ;)
@yahyayozo8660
@yahyayozo8660 3 жыл бұрын
thanks man this was really helpful
@disobedientdolphin
@disobedientdolphin 2 жыл бұрын
Very nice, thanks! The only thing I would question is using public variables as references for game objects instead of [SerializeField].
@LADFStudio
@LADFStudio Жыл бұрын
Sr, i have a concern. How we stop the jumping ? If “.setlooppingpong” is the eternal loop.
@vivekbarjod6815
@vivekbarjod6815 Ай бұрын
you can choose another options >> setLoopCount or setLoopOnce at 5:42 you can see them...
@nuclear-zone
@nuclear-zone 3 жыл бұрын
pls make tutorial on Tab sysytem, ur videos are very easy to understand
@lolol-kt6vp
@lolol-kt6vp 2 жыл бұрын
Geartly explained!! Thanks :))
@SquareOneTutorials2020
@SquareOneTutorials2020 3 жыл бұрын
Nice video, great job!
@erosallica
@erosallica 2 жыл бұрын
Thank you very much!!
@angel_luis
@angel_luis 3 жыл бұрын
Another subscriber here.
@camango1
@camango1 2 жыл бұрын
but my leanscale doesnt work always.I have 3 scenes and in all scenes i am using lean scale but it sometimes runs and sometimes dont
@firizz
@firizz Жыл бұрын
It works perfectly in the first run/play, but it didn't work at all in the second attempt, every part of the script works just fine except the leantween (LeanAlpha, LeanMove, etc), any solution? note : I notice if i make any changes in the script and then the editor recompile the script, the Leantween could work again but only in the first run
@skkkkkkkkkkkkkkkkkkkkkk
@skkkkkkkkkkkkkkkkkkkkkk Жыл бұрын
have the same issue did you fixed it? found on internet that if you create new project and move all files there it might help.
@firizz
@firizz Жыл бұрын
@@skkkkkkkkkkkkkkkkkkkkkk I already forgot about this project but now I'm using Dotween, it works perfectly
@_Garm_
@_Garm_ 3 жыл бұрын
Great tutorial! :D
@CocoCode
@CocoCode 3 жыл бұрын
Thanks! 🎉
@MrFarkasOfficial
@MrFarkasOfficial 3 жыл бұрын
YES.
@yojan69
@yojan69 2 жыл бұрын
is there any "bad thing" or affects perfomance or something else if i use animator animations instead via code (this tutorial's)?
@gamethusiastcafe7584
@gamethusiastcafe7584 3 жыл бұрын
perfect
@sanusam420
@sanusam420 3 жыл бұрын
7:59 what type of GameObject is the "DialogueGroup"..?? Is it "empty GameObject "or other "UI elements".?? Please help me.. sorry for bad English..
@fluorescente
@fluorescente 2 жыл бұрын
I am following your instructions, but LeanMoveLocal is making things move all over the place. The numbers I put in code are not the numbers that happen once in Game mode! any ideas?
@fluorescente
@fluorescente 2 жыл бұрын
@Sir Fluff no, I had to resign... I guess it's about the scale factor and local positions, world positions... I don't know, I'm new in Unity and that is still very confusing for me
@fluorescente
@fluorescente 2 жыл бұрын
btw I only had issued with images anchored to corners, when they are anchored (well, the cross thing with the rect transform) to the center, they work fine
@Андрей-о1д4с
@Андрей-о1д4с Жыл бұрын
I think it's important to activate and deactivate dialog windows when appearing and dissapearing.
@osiris5449
@osiris5449 3 жыл бұрын
Please show me how to make an in-game with a scrollbar on the right.
@mohammedo.6895
@mohammedo.6895 Жыл бұрын
I liked very much your source code theme, please how can I get similar one ?
@julmardelima1434
@julmardelima1434 3 жыл бұрын
Why mine is moving very fast i cant see the animation of character jumping?
@nagarjunavatti9288
@nagarjunavatti9288 3 жыл бұрын
Hi, I tried the dialogBox code but somehow the dialog box appears on the screen right after pressing the play button. That's the first thing that appears on screen. Rest everything is working fine but how to stop invoking the dialog box right after pressing play button on unity Thank You
@fluorescente
@fluorescente 2 жыл бұрын
It's about the rect transform, this tutorial doesn't work if the objects you try to animate are not aligned to the center
@ThanhNguyen-po7zy
@ThanhNguyen-po7zy 2 жыл бұрын
its weird to me. It works once only whenever I modify something in the code then unity reload them. after that, it does no thing even when my scrollview is at 0, 0, 0
@furkanozkahraman6101
@furkanozkahraman6101 Жыл бұрын
is it leantween ?
@kyung.lee.official
@kyung.lee.official 3 жыл бұрын
Great tutorial but I thought the cover means how to tween from a circle to a pentacle.
@gamehub24275
@gamehub24275 Жыл бұрын
Nice work, how to implement it on pause menu , timscale=0(is stoppung animation )
@CocoCode
@CocoCode Жыл бұрын
You can add .setIgnoreTimeScale(true); to your animation
@gamehub24275
@gamehub24275 Жыл бұрын
@@CocoCode Thank you i will try it :)
@Marwan_W_Elzeiny
@Marwan_W_Elzeiny 2 жыл бұрын
Thanks for the tutorial Coco Code it works for me but when switching canvas to scale with screen size: 1920x1080 it makes something cannot understand, after clicking ok button the dialog box stuck on the down of the screen and cannot close so what is the problem
@tuutti_dev
@tuutti_dev 2 жыл бұрын
I think the positioning should be the problem. Have u solved it?
@Marwan_W_Elzeiny
@Marwan_W_Elzeiny 2 жыл бұрын
No I turned it to scale screen size 1920x1080 and then doesn't solve in normal canvas it works but in other it moves for 20 y and then stops in this position
@tuutti_dev
@tuutti_dev 2 жыл бұрын
@@Marwan_W_Elzeiny So if you have the moving object under empty object wich scale isn't scaled for the hole screen then it does that. So scale moving objects parent to full screen size. Try that first
@Marwan_W_Elzeiny
@Marwan_W_Elzeiny 2 жыл бұрын
@Tuutti Ok will gonna try thanks
@katherinezhu574
@katherinezhu574 2 жыл бұрын
When I was following the open and closing settings window part, only the texts on the window shows up, but not the background image of the dialogue box...does anyone know what was the problem? thanks!
@Brainyplanet
@Brainyplanet 3 жыл бұрын
Can we use this in monetized game which is on Play store? Or I have to take permission.
@CocoCode
@CocoCode 3 жыл бұрын
Yes, you can use LeanTween in your projects for free!
@Brainyplanet
@Brainyplanet 3 жыл бұрын
@@CocoCode Oh great! Thanks for the tutorial.
@TheIsolatedGamerz
@TheIsolatedGamerz 3 жыл бұрын
Good shit man! :)
@nofilkhan3164
@nofilkhan3164 3 жыл бұрын
Wao ,you are awesome !!!
@deyvischarles
@deyvischarles 3 жыл бұрын
'CanvasGroup' does not contain a definition for 'LeanAlpha' and 'Transform' does not contain a definition for 'LeanMoveLocalY' Unity 2020.3.6f1 :(
@cuentaprueba8332
@cuentaprueba8332 3 жыл бұрын
Look this 1:26
@mohamedridahilali5062
@mohamedridahilali5062 2 жыл бұрын
Hey, Did u solve this issue ?
@marcdirian6370
@marcdirian6370 2 жыл бұрын
Hello Coco so nice tutorials !! May I try a question ? :-) I've got in a UI, 4 buttons in a control panel. Those are not visible by using Y parameter (Y = -400) to have it out of game. I'd like to use a script to make appear this "control panel" and get it visible (Y =0) when I click on a button. Is it possible ? thank's
@amburger1984
@amburger1984 2 жыл бұрын
you could just attach a scrip to the onclick button and set the buttons position to a new Vector3(x, 0)
@binarium4376
@binarium4376 3 жыл бұрын
1:26 2012?
@CocoCode
@CocoCode 3 жыл бұрын
My bad! Of course 2020 ;)
@binarium4376
@binarium4376 3 жыл бұрын
ya understandable :)
@hegemon3
@hegemon3 2 жыл бұрын
I use Unity 2020.3.30f1 and I don't have LeanTween in My Assets
@gamedeveloper1000
@gamedeveloper1000 2 жыл бұрын
There's now something called UIToolkit and it includes transitions..
@The-Dev-Ninja
@The-Dev-Ninja 3 жыл бұрын
good bro.😀
@freedom6984
@freedom6984 3 жыл бұрын
How can this setup to work on multiple resolutions?
@CocoCode
@CocoCode 3 жыл бұрын
Glad you ask! Check out my other video about that: kzbin.info/www/bejne/h5-3XmWBrbupr80
@freedom6984
@freedom6984 3 жыл бұрын
@@CocoCode thanks, i followed your video but it didn't work out( I want to make a panel fly out from the bottom part of the screen, so if I do the move function, depending on the size of the screen, the panel stops in different place. What am I doing wrong?😅
@이지현-w5m9w
@이지현-w5m9w 3 жыл бұрын
Hey Thankyou
@jeremaineramirez5475
@jeremaineramirez5475 3 жыл бұрын
where is the "other video" without the coding
@CocoCode
@CocoCode 3 жыл бұрын
I'm still working on it, sorry for the delay!
@jeremaineramirez5475
@jeremaineramirez5475 3 жыл бұрын
@@CocoCode oh sorry, I though it was uploaded already
@CocoCode
@CocoCode 3 жыл бұрын
The next video is up! kzbin.info/www/bejne/mKOciq2mnqeYf9k
@ChristVill45
@ChristVill45 2 жыл бұрын
Is this for Android Code?
@CocoCode
@CocoCode 2 жыл бұрын
Works on all platforms ✅
@cyrus3430
@cyrus3430 3 жыл бұрын
1:30 you said if you are using 2012 or newer😂😂😂
@CocoCode
@CocoCode 3 жыл бұрын
🙈
@stefancc83
@stefancc83 3 жыл бұрын
and my Dialog is opened as soon as I run my app
@stefancc83
@stefancc83 3 жыл бұрын
ok, I found :) ... great tutorial btw
@nagarjunavatti9288
@nagarjunavatti9288 3 жыл бұрын
@@stefancc83 how did you solve this issue, even I am facing the same
@stefancc83
@stefancc83 3 жыл бұрын
@@nagarjunavatti9288 I don’t remember exactly, but I thing you need to set isActive to false
@nagarjunavatti9288
@nagarjunavatti9288 3 жыл бұрын
@@stefancc83 using System.Collections; using System.Collections.Generic; using UnityEngine; public class DialogueBox : MonoBehaviour { public Transform box; public CanvasGroup background; // Start is called before the first frame update private void OnEnable() { background.alpha = 0; background.LeanAlpha(0.43f,0.5f); box.localPosition = new Vector2(0, -Screen.height); box.LeanMoveLocalY(0, 0.5f).setEaseOutExpo().delay = 0.1f; } // Update is called once per frame public void CloseDialog() { background.LeanAlpha(0, 0.5f); box.LeanMoveLocalY(-Screen.height, 0.5f).setEaseInExpo().setOnComplete(OnComplete); } void OnComplete() { gameObject.SetActive(false); } } Here is the code
@nagarjunavatti9288
@nagarjunavatti9288 3 жыл бұрын
I tried to set the Open Dialog box button to false .. still no luck :(
@yojan69
@yojan69 2 жыл бұрын
1:26 2012 xdd
@cyberkonco
@cyberkonco 3 жыл бұрын
Sir how make Character automaticaly jumping without button, after scene opening?
@mhamadomar7893
@mhamadomar7893 2 жыл бұрын
Huh like what?
@uchihai_a_h4871
@uchihai_a_h4871 3 жыл бұрын
I use unity animation clips than tweening as it gives visual feedback inside editor itself.
@CocoCode
@CocoCode 3 жыл бұрын
I also like using Animator in Unity UI - in my opinion it’s a bit more designer-friendly. but for such simple animations like dialog appear, Tweening may be the better way to go. Second video about the Animator coming soon!
@CocoCode
@CocoCode 3 жыл бұрын
Thanks for tuning in! Next Animations video coming next week! 💜 Join our Discord: discord.gg/hNnZRnqf4s​
@CocoCode
@CocoCode 3 жыл бұрын
The next video is up! kzbin.info/www/bejne/mKOciq2mnqeYf9k
@CocoCode
@CocoCode 2 ай бұрын
Dive deeper into advanced animations! 👉 Check out my newest course, Master Unity UI ➡ bit.ly/cc-unity-ui-29 It’s packed with everything you need to create awesome UI ✨🎨
@hassanmaswedish2290
@hassanmaswedish2290 3 жыл бұрын
Boooooo lake lakinlaki
@MrGrapesforall
@MrGrapesforall 3 жыл бұрын
is this a joke? hiding your screen half the time have no idea where you placed any of the code
@Superlollo7777
@Superlollo7777 Жыл бұрын
Thank you so much!
Create UI ANIMATIONS without ❌CODING❌! - Unity UI tutorial
17:40
Why you should use code to animate your UI in Unity.
5:02
Game Dev Guide
Рет қаралды 337 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Must-Have AI Apps for Window Users (2025)
5:29
Malware Detector
Рет қаралды 10
How to Make Low-Poly Models with Pixel Texture | Blockbench Tutorial
17:26
Brandon James Greer
Рет қаралды 352 М.
How to make a menu in Unity - UI Tutorial
26:27
Tarodev
Рет қаралды 193 М.
Building Runtime UI with UI Toolkit In Unity
21:35
Game Dev Guide
Рет қаралды 67 М.
How to Start Gamedev in 2024
10:28
Sasquatch B Studios
Рет қаралды 652 М.
Pixel Art Class - Simple Character Idle Animation
17:57
AdamCYounis
Рет қаралды 269 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 792 М.
ANIMATE LIKE A PRO with DOTWEEN  | Unity Plugin Review
9:50
TapHub Games
Рет қаралды 17 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН