You can (FINALLY) Use Shadergraph for UI - Unity Health Bar Tutorial
Wishlist Cropolution: https://store.steampowered.com/app/3291660/Cropolution/
Show your Support & Get Exclusive Benefits on Patreon (Including Access to this tutorial Source Files + Code) - https://www.patreon.com/sasquatchbgames
Join our Discord Community! - https://discord.com/invite/aHjTSBz3jH
--
This flew under the radar for me for a little bit, but I was SUPER STOKED to see that Shadergraph (for a little while now) actually has support for UI, so now it's much easier to make beautiful UI art using shaders. So in this tutorial we'll make an animated (and fully functional) health bar in Unity!
Hope you enjoy!
--
Timestamps:
00:00 - intro to canvas shadergraph
00:17 - why not just use sprite shaders?
00:59 - setting up our health bar properly (no stretching)
02:54 - setting up the animation in shadergraph
05:41 - coding the health bar to drain smoothly (with a trail)
---
Dotween Free:
https://assetstore.unity.com/packages/tools/animation/dotween-hotween-v2-27676?aid=1100lwgBQ
Get started with Gamedev - Zero To Mastery courses:
(don't forget to use the coupon code 'FRIENDS10' for an additional 10% off)
Game Development Career Path: https://links.zerotomastery.io/sasquatchstudios-gamedev
Career Path Quiz: https://links.zerotomastery.io/sasquatchstudios-quiz
All Courses: https://links.zerotomastery.io/sasquatchstudios-courses
In need of more Unity Assets? Using our affiliate link is a great way to support us. We get a small cut that helps keep us up and running: https://assetstore.unity.com/?aid=1100lwgBQ
---
Looking for some awesome Gamedev merch? -
---
Link to Download our FREE 2D Asset Pack:
https://veilofmaia.com/tutorial-asset-pack/
Who We Are-------------------------------------
If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Samurado.
Don't forget to Subscribe for NEW game dev videos every Thursday!
Wishlist Samurado!
https://store.steampowered.com/app/2343270/Samurado/
#unitytutorial #unity2d #madewithunity