Watch this tutorial on the official Unity learn pages here - UI Sliders can be used for various purposes from settings menus to health bars. Help us caption & translate this video! amara.org/v/V67E/
Пікірлер: 41
@månemannmånemann7 жыл бұрын
Is this guy actually a robot or just the most professional tutorial 'speaker' ever? In all his tutorials he pronounces everything he says in exactly the same way, never cheerful, never sad, just plain and precise.
@midniteauthor7 жыл бұрын
They have to supposedly. I have a friend who had to do an hour long texturing tutorial for a company and he had to re-do it twice because he was either talking too fast or not plain and precise enough. I guess it's because they aren't meant to have personality
@månemannmånemann7 жыл бұрын
Andy Leavy I guess your right. I like that it's clear and easy to understand, and I don't like those over enthusiastic youtubers that you can tell are faking it. Though I like it when there's a bit of personality involved...
@mandisaw6 жыл бұрын
LOL The Live trainings are where they get to have "personality". The older ones especially are very freewheeling. These library videos are meant to be as plain+precise as possible.
@AF-ei5yi5 жыл бұрын
this would have been a much better tutorial if you included how you did all those other sliders, ive been looking how to make a slider move my player and im at the end of my tether.
@CynicatPro10 жыл бұрын
lol. now people have no excuse for not having an FOV slider in there game. really though can people please add those more often. i'm one of the people who get a headache with too low field of view.
@GenoGENOVA9 жыл бұрын
Would it be possible to put the information links bellow also direclty on KZbin ? to find them usualy we need to look for the official Unity link of unity but we also dont have this link in the video on youtube many regards
@MindMidnightMelodies10 жыл бұрын
Hear "information link",but where to see it?
@johnschmitt649810 жыл бұрын
Where is the "information link" at 5:50?
@unity10 жыл бұрын
S.t Goh: this video is meant to be watched while embedded in our web page. Please see the Learn site on the Unity3d domain and watch these in the proper context.
@TheMeeelting9 жыл бұрын
Is there a text summary somewhere? Looking at a video is timeconsuming and annoying. I just need a tiny part of this information...
@ChickenZDipper10 жыл бұрын
Does anyone know what I have done wrong with my code. I made a cube and and slider and created a CSharp script called CubeSize. The code looks like this: using UnityEngine; using System.Collections; public class CubeSize : MonoBehaviour { public float size; void Update () { transform.localScale += new Vector3(size, size, size); } public void ChangeSize(float newSize) { size = newSize; } } I am trying to achieve the effect in this video with the second slider which when toggled, the scale of the shape became wider. What my code does is when the slider is moved along in the positive direction, my cube gets bigger and bigger and keeps growing continuously. This is not the effect I am looking for as I want the cube to remain stationary when the slider is not moving. Can anyone help me please, that would be appreciated. :)
@slingboi3 жыл бұрын
A little bit late but still: just set the code in Update () to transform.localScale = new Vector3(size, size, size); instead of transform.localScale += new Vector3(size, size, size); That should do the job 👌
@SoaringSimulator6 жыл бұрын
Is missing a C# "Dynamic Float" code example.
@JohnDemetriou5 жыл бұрын
But how do you get the slider element? I create Public slider but it does not appear in the inspector
@RileyDyer10 жыл бұрын
I can't find floats in scripts under "Dynamic Float", so I can't edit them with the slider. Anyone know why?
@StellarMirage2 жыл бұрын
is there any way other than coding to retract the slider to its default position?
@Guister968 жыл бұрын
In Unity 5.1 I can't "connect" the slider element with the slider variable (like we can see at 7:55) Any help?
@user-kc6eb5mz1i10 жыл бұрын
if ( canvas.render mode == world space ) slider don't work why ?
@mickmickymick69273 жыл бұрын
is there an updated version of this tutorial
@aft25116 жыл бұрын
Friend friend listen, I have a slider but how to interact with it inside VR ?! help plz
@sahildhingra85088 жыл бұрын
Is there a way to make Slider with min value and max value in UI..??
@MarcelSimader10 жыл бұрын
So is this going to work with touch input?
@unity10 жыл бұрын
Yep. Works with touch and controller input.
@michalschiesl399110 жыл бұрын
Is there anyway to dynamically set position of slider to the position of player with some Y offset ?
@michalschiesl399110 жыл бұрын
Or is possible to set Anchor point to another GO ( like player or enemy) ?
@unity10 жыл бұрын
Setting the value of the slider is as simple as passing the value to the slider (see the video). To move the pivot point or position of the Rect Transform, do this by addressing the Rect Transform directly.
@Jayc500110 жыл бұрын
Will the old buttons still work?
@davidefurfaro99638 жыл бұрын
can i enable and disable something with a slider?
@asiseverything34046 жыл бұрын
that would be a switch.
@denisthefuzz3 жыл бұрын
It' is quite astonishing to see how a tutorial can make things less understandable.
@Gredran3 жыл бұрын
What do you mean?
@zxcvbnm299210 жыл бұрын
is the new UI system out yet?
@MarcelSimader10 жыл бұрын
isthenewguioutyet.com/ ;) (I didn't make the website)