UI Slider - Unity Official Tutorials

  Рет қаралды 77,877

Unity

Unity

Күн бұрын

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ånemann
@månemannmånemann 8 жыл бұрын
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.
@midniteauthor
@midniteauthor 7 жыл бұрын
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ånemann
@månemannmånemann 7 жыл бұрын
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...
@mandisaw
@mandisaw 6 жыл бұрын
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.
@unity
@unity 10 жыл бұрын
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.
@AF-ei5yi
@AF-ei5yi 5 жыл бұрын
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.
@GenoGENOVA
@GenoGENOVA 9 жыл бұрын
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
@CynicatPro
@CynicatPro 10 жыл бұрын
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.
@MindMidnightMelodies
@MindMidnightMelodies 10 жыл бұрын
Hear "information link",but where to see it?
@johnschmitt6498
@johnschmitt6498 10 жыл бұрын
Where is the "information link" at 5:50?
@TheMeeelting
@TheMeeelting 9 жыл бұрын
Is there a text summary somewhere? Looking at a video is timeconsuming and annoying. I just need a tiny part of this information...
@MarcelSimader
@MarcelSimader 10 жыл бұрын
So is this going to work with touch input?
@unity
@unity 10 жыл бұрын
Yep. Works with touch and controller input.
@JohnDemetriou
@JohnDemetriou 6 жыл бұрын
But how do you get the slider element? I create Public slider but it does not appear in the inspector
@ChickenZDipper
@ChickenZDipper 10 жыл бұрын
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. :)
@slingboi
@slingboi 3 жыл бұрын
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 👌
@StellarMirage
@StellarMirage 2 жыл бұрын
is there any way other than coding to retract the slider to its default position?
@Guister96
@Guister96 9 жыл бұрын
In Unity 5.1 I can't "connect" the slider element with the slider variable (like we can see at 7:55) Any help?
@michalschiesl3991
@michalschiesl3991 10 жыл бұрын
Is there anyway to dynamically set position of slider to the position of player with some Y offset ?
@michalschiesl3991
@michalschiesl3991 10 жыл бұрын
Or is possible to set Anchor point to another GO ( like player or enemy) ?
@unity
@unity 10 жыл бұрын
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.
@RileyDyer
@RileyDyer 10 жыл бұрын
I can't find floats in scripts under "Dynamic Float", so I can't edit them with the slider. Anyone know why?
@mickmickymick6927
@mickmickymick6927 3 жыл бұрын
is there an updated version of this tutorial
@sahildhingra8508
@sahildhingra8508 8 жыл бұрын
Is there a way to make Slider with min value and max value in UI..??
@SoaringSimulator
@SoaringSimulator 6 жыл бұрын
Is missing a C# "Dynamic Float" code example.
@denisthefuzz
@denisthefuzz 3 жыл бұрын
It' is quite astonishing to see how a tutorial can make things less understandable.
@Gredran
@Gredran 3 жыл бұрын
What do you mean?
@Jayc5001
@Jayc5001 10 жыл бұрын
Will the old buttons still work?
@АртёмЛепкин
@АртёмЛепкин 10 жыл бұрын
if ( canvas.render mode == world space ) slider don't work why ?
@aft2511
@aft2511 6 жыл бұрын
Friend friend listen, I have a slider but how to interact with it inside VR ?! help plz
@davidefurfaro9963
@davidefurfaro9963 8 жыл бұрын
can i enable and disable something with a slider?
@asiseverything3404
@asiseverything3404 6 жыл бұрын
that would be a switch.
@zxcvbnm2992
@zxcvbnm2992 10 жыл бұрын
is the new UI system out yet?
@MarcelSimader
@MarcelSimader 10 жыл бұрын
isthenewguioutyet.com/ ;) (I didn't make the website)
@JFkingW
@JFkingW 10 жыл бұрын
Its in Open Beta
@MarcelSimader
@MarcelSimader 10 жыл бұрын
You can download it?! Awesome!
@4154hakan
@4154hakan 7 жыл бұрын
hey code please c# Unty
@acomathes
@acomathes 7 жыл бұрын
Thanks for nothing
@KUKY7cz
@KUKY7cz 3 жыл бұрын
Too old video. I lost time.
Unity Audio: How to make a UI volume slider (the right way)
8:09
John Leonard French
Рет қаралды 96 М.
UI Transitions - Unity Official Tutorials
6:20
Unity
Рет қаралды 44 М.
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 108 МЛН
Зу-зу Күлпаш 2. Бригадир.
43:03
ASTANATV Movie
Рет қаралды 729 М.
Зу-зу Күлпаш 2. Интернет мошенник
40:13
ASTANATV Movie
Рет қаралды 601 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Lights - Unity Official Tutorials
8:01
Unity
Рет қаралды 188 М.
How To Make UIs without frustration | Unity Beginner Tutorial
16:58
This is GameDev
Рет қаралды 33 М.
Create a VR Slider in Unity
21:20
Shack Man
Рет қаралды 4,4 М.
Unity UI that WORKS  and doesn't Suck - Nova UI
10:11
One Wheel Studio
Рет қаралды 34 М.
Unity Tutorial - Making Slider Menu Animation
14:38
Denys Gamers Tutorial
Рет қаралды 30 М.
Make HEALTH BAR in Unity With UI Slider
7:33
BudGames
Рет қаралды 1,9 М.
How Particle Life emerges from simplicity
10:16
Tom Mohr
Рет қаралды 354 М.
UnityEvents Explained in 4 Minutes
4:28
Contraband
Рет қаралды 49 М.
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 108 МЛН