The Project Files are on Patreon if anyone wants them. www.patreon.com/SmartPenguins
@brandonjacksoon4 жыл бұрын
Happy New Year mr. Penguin! Thank you for all )) more subscribers and all the best!
@SmartPenguins4 жыл бұрын
Thank you too! Hope you find lots of help here!
@nerkolt94033 жыл бұрын
What object in the hierarchy do u attach ur matchLogic script to (i'm having problems with my script)
@tech-timber Жыл бұрын
so i did this tutorial and my line was not scaling properly, so to solve that I devided the direction.magnitude with a random float value hit and try different values....just writing this so that it may help someone in future...nice tutorial btw.
@katebiel2 жыл бұрын
Is it possible to use this with the Input System Package? I installed it and now: using UnityEngine.EventSystems; using UnityEngine.UI; doesn't work
@zerocode12 жыл бұрын
How Can we remove the jittering of the line? On stretching the line , line gets jittered. How to fix this?
@Timoisonyt4 жыл бұрын
Hello. HAPPY NEW YEAR
@SmartPenguins4 жыл бұрын
Happy new year to you as well!
@javisin3 жыл бұрын
Awesome tutorial :D. I tried it and wasn't really working as it should because the lines weren't scaling properly with the canvas. To solve this problem I changed the line of code in the UpdateLine method that sets the line.transorm.localScale by -> line.transform.localScale = new Vector3(direction.magnitude / canvas.scaleFactor, 1, 1); , being canvas.scaleFactor the Canvas component that's holding the UI.
@viole13942 жыл бұрын
hello can I know how you declared the canvas.scaleFactor and what its trying to get on canvas. the thing is the line is not scaling properly when I use the scale with screensize on cavas scaler so im wondering if we have the same problem. sorry im new to unity so I dont know much about it.
@javisin2 жыл бұрын
@@viole1394 Hi, the "canvas" object is an object reference to the game canvas. Since the objects we're working with are childs of a Canvas, try "GetComponentInParent().scaleFactor" to get the scale factor value.
@javisin2 жыл бұрын
@Jaymar Villaluna Check my answer above :D
@mikeduhat36412 жыл бұрын
@Jaymar Villaluna i have a problem with it too pls help
@javisin2 жыл бұрын
@@mikeduhat3641 Please, check my answer above again.
@josephdacostaribeiro2090 Жыл бұрын
como faz pra deixar a linha no tamanho de uma tela de celular, onde eu devo alterar pra ter esse resultado