Simple Text Input Field Window in Unity (Submit Score, Name)

Simple Text Input Field Window in Unity (Submit Score, Name)

Code Monkey

4 года назад

81,362 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@steambean1268
@steambean1268 - 15.01.2024 22:52

Haven't found anybody else asking this but the UI input window doesn't show up in game view, I think this is because I am using different cameras for the player and the ui since you made a UICamera in the simple UI setup tutorial and I already had a player with a camera. So when I activate the UI nothing shows up on the main camera, how do I link them up or is there something else I should do?

Ответить
@davidwhyte6825
@davidwhyte6825 - 30.09.2023 23:42

I am trying to get all the text in input field to not be capital letter, does anyone have an idea?

Ответить
@sbellor89
@sbellor89 - 18.09.2023 00:00

How do I validate the input field? More specifically if it's an empty field (null) prompt the player to input text again?

Ответить
@vj-op6880
@vj-op6880 - 07.06.2023 23:07

Question, what if I want to eliminate the mouse from the screen with the Cursor.lockstate function and the Cursor.visible function.
How would I remove the "Submit Score" button and put access to the "UI_InputWindow" screen on the keyboard's enter button (example)?

Ответить
@jreffjeff7909
@jreffjeff7909 - 28.05.2023 09:16

What's the difference between ur button script and Unity's?

Ответить
@saimihops
@saimihops - 25.04.2023 19:57

Could you also include code without using custom packages? I can't require everyone I work with to understand or go over custom packages

Ответить
@Hazzel31337
@Hazzel31337 - 20.04.2023 19:58

this channel is always a great resource !

Ответить
@hookd3010
@hookd3010 - 12.04.2023 20:57

how do you add characters that stay in place? like : or / .......example 03/04/2006 example 3:30 pm

Ответить
@lukashergelashvili3370
@lukashergelashvili3370 - 02.02.2023 11:04

can this tutorial be used also on mobile?

Ответить
@osmansalihkaratay8228
@osmansalihkaratay8228 - 03.06.2022 18:48

I just want to change the score without changing the name. Please help

Ответить
@osmansalihkaratay8228
@osmansalihkaratay8228 - 29.05.2022 20:42

I have a problem. ": 'HighscoreTable.AddHighscoreEntry(int, string)' is inaccessible due to its protection level" What can ı do?

Ответить
@naydaily4660
@naydaily4660 - 19.05.2022 03:38

How do I do the clickfunction with regular unity button component? Do i have to add a script, because calling the function with private void ClickFunction() isnt doing the job, but I dont want to do it the ClickFunc = () => way

Ответить
@syedaalena7902
@syedaalena7902 - 15.05.2022 18:35

how we will clear the list in begining when the game starts?

Ответить
@noobpenguin5710
@noobpenguin5710 - 01.05.2022 13:31

Is there a way to do this with visual scripting? :$$

Ответить
@syedaalena7902
@syedaalena7902 - 02.04.2022 21:59

I made one function in which i get the player game chances and scores from the playerpref now I have to add that score on the highscoreTable. just tell how to add that score that Iam getting by the playerprefs?

Ответить
@syedaalena7902
@syedaalena7902 - 02.04.2022 16:00

And how we will add the scores when player plays the game , then that score will be add on this highscore table.Can you tell?

Ответить
@syedaalena7902
@syedaalena7902 - 01.04.2022 18:19

How we are gettng this delegate onvalidate func? Where did you write that code?

Ответить
@syedaalena7902
@syedaalena7902 - 01.04.2022 13:51

its giving error on all buttons

Ответить
@syedaalena7902
@syedaalena7902 - 26.03.2022 21:07

submitscorebutton is not working what should i do?

Ответить
@syedaalena7902
@syedaalena7902 - 20.03.2022 13:02

I need Button_UI component

Ответить
@umittutar2072
@umittutar2072 - 06.03.2022 12:21

Your presentation very nice but I wonder "inputfield" usage in unity not with Codemonkey class

Ответить
@CalvinHobbes
@CalvinHobbes - 10.02.2022 21:40

Hi monkey how can I make it so that instead of manually entering a score, a variable is automatically entered and the box to enter a score doesn’t show. Thanks.

Ответить
@TheFuely
@TheFuely - 09.02.2022 17:58

Hi ! Very nice video, very useful.
I am having issue with the Highscore table, from the previous video.
I really followed previous video instruction and stuff, but I can't have the table update when I input new scores and names, like in the video. I need to reload the scene.
I guess it's because a big part of the highscore table code is in Awaken()? But I couldn't say for sure, I'm kinda beginner.
Could you (or someone else) explain why your highscore table get update in the same Play session? Thank you!

Ответить
@sremiladmello5198
@sremiladmello5198 - 14.01.2022 15:07

Great tutorial but you kinda overcomplicated this

Ответить
@TharveH
@TharveH - 10.01.2022 06:23

Hi, I am new to unity and have been following your tutorials. I have it set so that when I hover over the button it should go a lighter green like in the video but the background seems to vanish instead. Why would this be?

Ответить
@letsplaynay9936
@letsplaynay9936 - 18.12.2021 23:20

It says object reference not set to an instance of an object for ClickFunc() please help :(

Ответить
@cools7uff
@cools7uff - 10.10.2021 03:59

When doing the ui testing script I can’t get the button to show my window and I have know idea why as I have re written the code alot

Ответить
@wanchester6626
@wanchester6626 - 22.08.2021 14:12

IM HAVING AN ERROR IN THE UTILS IN THE WORD ASSITS IN ALL LINES

Ответить
@wanchester6626
@wanchester6626 - 22.08.2021 12:47

where can i het the utils and can u send the project download link here because the website telling me error

Ответить
@crystian7016
@crystian7016 - 05.07.2021 00:01

I've done my input "formatter" for name(just what i needed) like this:

inputName.characterLimit = 4;
inputName.onValidateInput += delegate (string s, int i, char c) { return char.IsLetter(c)? char.ToUpper(c) : '\0'; };

It caps the input in 4 and accepts only characters, with changes always to Lettercases.

Ответить
@ericouellet9848
@ericouellet9848 - 18.06.2021 22:33

Lastly.... Thank you, I really appeciate because I have zero experience on Unity!

Ответить
@ericouellet9848
@ericouellet9848 - 18.06.2021 22:32

Also, when you create a Singleton, you should overide constructor(s) and make it (them) private.

Ответить
@ericouellet9848
@ericouellet9848 - 18.06.2021 22:28

Very nice. Do you support paste? If yes, what will happen?

Ответить
@barbarbarbar3
@barbarbarbar3 - 01.06.2021 21:00

That's cool, that would be really better if you explain less quickly

Ответить
@printlife9016
@printlife9016 - 19.04.2021 10:51

I tried to enter Japanese and Chinese characters in the input field other than English, then I saw some strange squares instead of characters, any idea about how to fix this? Thanks

Ответить
@Tealman
@Tealman - 02.03.2021 02:10

Thanks!

Ответить
@random_precision_software
@random_precision_software - 14.10.2020 18:24

HELP!!! How do I get an INPUT FIELD for a MOBILE device..I bbed to enter a name for the high score table on ANDROID how do i do this? ive tried touchscreeenkeyboard.type.default

Ответить
@davez7798
@davez7798 - 04.10.2020 17:43

Typing. Goes. So. Fast. Sorry on mobile I can't actually read the text so I'll have to move on without the audio pairing. Maybe next time.

Ответить
@Dippps
@Dippps - 23.09.2020 21:45

Wow your channel is so helpfull. Thats like 10th times you help me with my problem;)

Ответить
@nabeelbaghoor1061
@nabeelbaghoor1061 - 07.08.2020 06:55

"Failed to import package with error: Couldn't decompress package"

Ответить
@nabeelbaghoor1061
@nabeelbaghoor1061 - 06.08.2020 20:55

Love you!!

Ответить
@youtuberyoutuber2495
@youtuberyoutuber2495 - 12.07.2020 14:15

Could you do a tutorial where you type in a name in the input field then hit the play button and on the next scene it shows the name that you put in?

Ответить
@gamersunite9026
@gamersunite9026 - 27.04.2020 14:15

Button_UI doesn't exist.

Ответить
@andrewr3837
@andrewr3837 - 16.04.2020 10:32

i don't understand anything because u put this fucking speed on your videos!

Ответить
@vikchristy1238
@vikchristy1238 - 01.04.2020 12:11

Can you make a video on how to build a search function using input field. So like in game search for a particular object

Ответить