YES I LOVE THAT. Short, no 3min intro and explaining what a boolean does, lot's of quality information and a good coding style. Appreciate it keep it up!
This is one of the best tutorials I've ever seen. Great pace/speed of which you're explaining things and no unnecessary prolonging of the video till the 10:01 time. If teachers were paid appropriately, I could imagine you being one. Good thing YT recommended me you among the very first videos after searching for healthbars in Unity. Thank you for not making me suffer through a 25 minutes long video with unnecessary gobbledygook.
instead of the bar looking at the camera which looks weird when the healthbar is not in the center of the screen. I just set the rotation of the healthbar to the rotation of the camera, this way its always perfectly horizontal and visible
The quality of your tutorials, both in the sense of how helpful they are and how visually/audibly impressive they are, is phenomenal. Keep making these high-quality tutorials and I've no doubt you'll become the next Brackeys. Great job! 👍
syngleton could not have said it any better. Love the content. With Brackeys gone you seem like the guy to fill that void. Top tier videos, and you only just stated. Keep up the good work!
If you can't apply your image as a sprite on the image ui. Simply do this, Click on your image. Look in the inspector view. Change the Texture type from 2D to Sprite (2D and UI). Images can't be added to the scene, sprites can be. Therefore, convert it to Sprite first.
Hey there! Great tutorials. I've watched every single one of them and I swear, I've never put so many likes under any youtube channel. Thanks a lot for your work, hoping to see more advanced tutorials. I have a question: is it really a good practice to create canvases in every single instance of your enemy or character? Or is there a better way to approach this when dealing with bigger amounts of healthbars/UI's?
Its just that this thing bugs me when i have to set a ' public camera cam' variable and manually chose a camera, how would i do it in a multiplayer game where there is no chance to manually selecting which cam to look at, or again in a scene where two cameras are looking at the health bar, what do i do then?
Thanks for the nice tutorial! This canvas setup is super easy to use. What do you recommend for maximum # of canvases per scene? My scene could have as many as 30 units perhaps... Thank you again.
Hello! I'm trying to use this with a UI panel and 3d object and it works fine with rotation as you said, but the panel changes form as i change X or Y coordinates. Do I need additional line of code to handle this?
Any ideas why if i enable and disable the canvas of the healthbar, it also messes up the texts of other canvases text mesh pro texts on buttons and my inventory.? It only happens if i play the build of the game and not in editor.... It's unrelated to this specific video, I created a damage popup. I think it could be related to the strange Canvas(Environment) that has all settings greyed out these days in prefabs somehow :S
Imagine having the audacity, to say that someone who made a good 6 minute youtube tutorial, wasted your time, just beacuse you are incapable of understanding it, even though the 99% of us understood it perfectly well.
YES I LOVE THAT. Short, no 3min intro and explaining what a boolean does, lot's of quality information and a good coding style. Appreciate it keep it up!
First you want to start by creating a new project in Unity...
@@Tarodev but wait, you didn't tell me how to ~download unity~ buy a computer
@@AnnaGlin Oh shoot, sorry. First, ensure your computer meets the minimum requirements to run unity~
This is one of the best tutorials I've ever seen. Great pace/speed of which you're explaining things and no unnecessary prolonging of the video till the 10:01 time. If teachers were paid appropriately, I could imagine you being one. Good thing YT recommended me you among the very first videos after searching for healthbars in Unity.
Thank you for not making me suffer through a 25 minutes long video with unnecessary gobbledygook.
instead of the bar looking at the camera which looks weird when the healthbar is not in the center of the screen. I just set the rotation of the healthbar to the rotation of the camera, this way its always perfectly horizontal and visible
smart
@@47farhad83 very smart🥰🥰
@@4xh9 indeed
The quality of your tutorials, both in the sense of how helpful they are and how visually/audibly impressive they are, is phenomenal. Keep making these high-quality tutorials and I've no doubt you'll become the next Brackeys. Great job! 👍
That's about as big a compliment you could give me. I grew up on Brackeys.
I'll strive to deliver the best content I can, thank you!
syngleton could not have said it any better. Love the content. With Brackeys gone you seem like the guy to fill that void. Top tier videos, and you only just stated. Keep up the good work!
@@caleb6067 Guys stop, you're makin' me blush
Underrated channel, Unity should hire you to make tutorials for em, I swear. Your channel is Gold my guy
Thank you brother 🙏
If you can't apply your image as a sprite on the image ui. Simply do this, Click on your image. Look in the inspector view. Change the Texture type from 2D to Sprite (2D and UI). Images can't be added to the scene, sprites can be. Therefore, convert it to Sprite first.
Thank You that was Very Helpful
@@jackbernard6194 No worries! Glad it helped mate.
Thanks for this tutorial. Its so simple and nice looking helathbar!
solid tut, thanks, keep em coming solid!
if for the Image _healthBarSprite fill amount is not showing up, make sure at the top you put: Using UnityEngine.UI;
thanks bro
Thanks Mister 👌 God bless you !
You deserve 100 thousand subscribers. When is the discord server coming?
I hadn't even thought about it, but I'll make one now! Stay tuned ❤️
Great! Thank you so much! :D
Great video, keep up the good work!
You could use Transform.LookAt(), was there a reason for preferring Quaternion.LookRotation() ?
That is really great!!
Thank you!
You're quite welcome!
Where did you get the healthbar sprite from?
thank you for this video
Hey there! Great tutorials. I've watched every single one of them and I swear, I've never put so many likes under any youtube channel. Thanks a lot for your work, hoping to see more advanced tutorials.
I have a question: is it really a good practice to create canvases in every single instance of your enemy or character? Or is there a better way to approach this when dealing with bigger amounts of healthbars/UI's?
I got same doubt , did you find answer to your question??
Its just that this thing bugs me when i have to set a ' public camera cam' variable and manually chose a camera, how would i do it in a multiplayer game where there is no chance to manually selecting which cam to look at, or again in a scene where two cameras are looking at the health bar, what do i do then?
Can you give me the image of HealthBar please
What is the advantage of using [serializedfield] private instead of public?
Thnks a lot!
Thanks for the nice tutorial! This canvas setup is super easy to use. What do you recommend for maximum # of canvases per scene? My scene could have as many as 30 units perhaps... Thank you again.
30 should be absolutely fine. I remember running 50+ without any performance loss.
Hi. You assigned a canvas for the player. What if you have multipe players? Whould you end up with multiple canvases?
can you share the healthbar sprites please?
why can't i drag and drop the sprite that I made to th inspector in image
How did u do the attacking and damage towards the placeholder
Hello! I'm trying to use this with a UI panel and 3d object and it works fine with rotation as you said, but the panel changes form as i change X or Y coordinates. Do I need additional line of code to handle this?
How you do that healthbar sprite?
i cant place the canvas as a sprite even when i place the foreground in the canvas please help
Particle system please
Any ideas why if i enable and disable the canvas of the healthbar, it also messes up the texts of other canvases text mesh pro texts on buttons and my inventory.? It only happens if i play the build of the game and not in editor.... It's unrelated to this specific video, I created a damage popup. I think it could be related to the strange Canvas(Environment) that has all settings greyed out these days in prefabs somehow :S
on top down, x30 y 45 not works.
that little guy looks like a little among us!
Sus
way too complicated didnt had to create 2 scripts
for my look at camera script I use something like the following:
transform.forward = (invert ? 1 : -1) * cameraTransform.forward;
Do not waste your time this does not work.
It worked for me
what did not work for you?
i dont have any options at the begging like fill method etc.
you just wasted 10 hours of my life i did the same thing but i keep getting error
By your attitude and the way you strung your sentence together, this is definitely a You problem.
Imagine having the audacity, to say that someone who made a good 6 minute youtube tutorial, wasted your time, just beacuse you are incapable of understanding it, even though the 99% of us understood it perfectly well.
@@MrBa143 my knight in shining armor ❤️
Thank you!