How to Draw UI Lines in Unity in 10 Minutes | Line Renderer Tutorial 2

  Рет қаралды 31,358

BLANKdev

BLANKdev

Күн бұрын

Part 2 of my Unity Tutorial Series: • Line Renderer Unity . Focusing on How to use the Line Renderer Component. This video looks at using the Line Renderer in combination with Unity's UI Canvas and UI elements. At the end of this video you will be able to draw a line between two items in a UI.
📩 Download the Source Code here: tobyrcod.itch.io/linerenderse...
🕒 Timestamps:
00:00 - What you will be making
00:10 - Setting the Canvas Render Mode
😄 Join the BLANK Realm:
KZfaq: kzfaq.info/love/CXX...
Discord: / discord
Twitter: / blankdev_yt

Пікірлер: 29
@BLANKdev
@BLANKdev 6 ай бұрын
PSA: This video is a part 2 addon to my line renderer tutorial, please watch that first for this video to work best: kzfaq.info/get/bejne/a8ByrNGbptnKp30.html I'm very sorry for all the confusion this caused in the comments below, and that it took me so long to realize this was an issue
@appleseedgames6934
@appleseedgames6934 Жыл бұрын
This has got nothing to do with drawing UI lines
@pchris
@pchris Жыл бұрын
The content of this had nothing to do with the title...
@Deathcofi
@Deathcofi Жыл бұрын
my left ear greatly enjoyed this video
@bosseburakowsky
@bosseburakowsky 2 жыл бұрын
Great tutorial! Straight to the point
@BLANKdev
@BLANKdev 2 жыл бұрын
Glad I could help :D
@oscarmelchorgalan3092
@oscarmelchorgalan3092 2 жыл бұрын
fantastic, thanks.
@gradyindie2219
@gradyindie2219 2 жыл бұрын
Another good tutorial.
@BLANKdev
@BLANKdev 2 жыл бұрын
Thank you :D
@CharcoolDev
@CharcoolDev 2 жыл бұрын
1 minute tutorial? Wow!
@tauheedgamedev2388
@tauheedgamedev2388 2 жыл бұрын
I remember struggling with the Canvas and world space when I first started learning Unity, if only there was a video like this when I first started.
@BLANKdev
@BLANKdev 2 жыл бұрын
That means the world Tauheed hopefully it helped!
@robbymulvany2109
@robbymulvany2109 Жыл бұрын
Heh, this video does NOT show you how to draw a line between 2 UI objects. It literally only shows you how to set a canvas to world space. Yes, you could then use a line renderer inside canvas objects, but UI space is still very different from world space, and you can't easily convert it since UI space goes into the negatives once you're at 0, 0 going left/down
@BLANKdev
@BLANKdev Жыл бұрын
I would hate to be misleading, but I have been getting this feedback quite a lot recently. To me if you use this as a part 2 to my line drawing video then by the end you can draw a line between two ui elements, but it is clearly not that so I apologize. I'll try and do better in future
@kebbil
@kebbil 2 жыл бұрын
Ooo thanks I never knew there was a world space option
@BLANKdev
@BLANKdev 2 жыл бұрын
My pleasure!
@LautaroArino
@LautaroArino 2 жыл бұрын
So how is it done if the line should not be in the root of the ui? Can it have its own canvas as a parent even if it would be a canvas in a canvas?
@BLANKdev
@BLANKdev 2 жыл бұрын
If I understand you correctly you can place the line as a child of an empty game object that is itself a child of the canvas to keep things better organised
@makra42069
@makra42069 2 жыл бұрын
clear and concise, that's the type of tutorials we need :)
@Colonies_Dev
@Colonies_Dev Жыл бұрын
ive been lookning thru his shit for like 10 minutes and i havent seen A SINGLE FKING LINE
@Colonies_Dev
@Colonies_Dev Жыл бұрын
where is the lines at? i dont see anything besides cubes that he spawned in up front and they look like raw image
@rafaobrebski3885
@rafaobrebski3885 6 ай бұрын
how is this titled as drawing UI lines? it has literally nothing to do with it
@kakarotsan3030
@kakarotsan3030 6 ай бұрын
Use the canvas scaler... *screams internally*
@BLANKdev
@BLANKdev 6 ай бұрын
You are right, I wouldn't recommend this anymore but as a quick and dirty trick for smaller projects I still think it can be useful
@jackbot1992
@jackbot1992 6 ай бұрын
Are these comments written by robots? There's no way anyone would be satisfied by this tutorial, it's telling you absolutely nothing the title says, and the description straight up lies. Reported as misleading.
@BLANKdev
@BLANKdev 6 ай бұрын
I would love to fix this. I have seen a lot of mixed feedback on this as some people find it misleading and others find it helped. With this many people finding it misleading though I definitely have a problem I want to address. What about it doesn't work for you? Especially a lie in the description, I genuinely don't see one but if you can point it out I will fix it immediately as I would hate for one to be there
@BLANKdev
@BLANKdev 6 ай бұрын
Actually I may have just got it, while we are drawing a line between two UI points, the line itself isn't on the UI. Would clarifying that help? This video is from a long time ago now and while I don't agree with this method anymore, I think for a quick and dirty way to draw such a line in a small project it gets the job done
@jackbot1992
@jackbot1992 6 ай бұрын
@@BLANKdev I genuinely don't know if you're trolling. The lie in the description is, I'll just copy-paste it: "At the end of this video you will be able to draw a line between two items in a UI" There is not a single line drawn in the entire video, you don't even talk about it, except in the intro. You just change the scaling of a canvas.
@BLANKdev
@BLANKdev 6 ай бұрын
@@jackbot1992 Thank you for the honestly. I'm not trolling at all I take trying to help people very seriously and am very keen to fix the mistake. I made an assumption that everyone watching this video would have seen part 1, in hindsight this was a mistake. I will do my best to make it clearer
How to Draw Shapes in Unity | Line Renderer Unity Tutorial 3
21:40
How To Draw a Line in Unity | Line Renderer Tutorial 1
3:53
BLANKdev
Рет қаралды 133 М.
Hot Ball ASMR #asmr #asmrsounds #satisfying #relaxing #satisfyingvideo
00:19
Oddly Satisfying
Рет қаралды 12 МЛН
I Built a Shelter House For myself and Сat🐱📦🏠
00:35
TooTool
Рет қаралды 19 МЛН
The Worlds Most Powerfull Batteries !
00:48
Woody & Kleiny
Рет қаралды 24 МЛН
Sprinting with More and More Money
00:29
MrBeast
Рет қаралды 118 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 677 М.
Drawing a line in Unity - Happy Glass / Love Balls Style!
10:49
Splines are Awesome!!!
11:13
Code Monkey
Рет қаралды 145 М.
2 Python Developers VS $1000
15:04
PolyMars
Рет қаралды 1,7 МЛН
Making UI That Looks Good In Unity
18:06
Game Dev Guide
Рет қаралды 653 М.
Unity UI Line Renderer
6:36
Sam Dunlap
Рет қаралды 3,2 М.
How to Draw in Unity using Line Renderer | Unity Tutorial
4:12
Pix and Dev
Рет қаралды 23 М.
I Optimised My Game Engine Up To 12000 FPS
11:58
Vercidium
Рет қаралды 496 М.
How To DRAW ANYTHING in Unity Tutorial
9:23
BMo
Рет қаралды 22 М.
Hot Ball ASMR #asmr #asmrsounds #satisfying #relaxing #satisfyingvideo
00:19
Oddly Satisfying
Рет қаралды 12 МЛН