How to easily display text in unity by a trigger! c#

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

Notes From A Nomad

Notes From A Nomad

6 жыл бұрын

Super easy peezie.

Пікірлер: 76
@pspicer777
@pspicer777 5 жыл бұрын
Nearly 100 years of computer science theory and engineering, millions of man-hours of programming, the unbelivable technological miracle that is the internet ... and the word that comes to mind is “poop”? ... 😬
@mastervanity3912
@mastervanity3912 3 жыл бұрын
lmao
@neonwolf07
@neonwolf07 2 жыл бұрын
lol
@notesfromanomad8707
@notesfromanomad8707 2 жыл бұрын
Yes
@pspicer777
@pspicer777 2 жыл бұрын
@@notesfromanomad8707 Best to you and yours KG. 🙂
@notesfromanomad8707
@notesfromanomad8707 2 жыл бұрын
@@pspicer777 both of my cats say thank you
@thedarthcader7055
@thedarthcader7055 3 жыл бұрын
My left ear enjoyed this.
@pleasedontsub2732
@pleasedontsub2732 2 жыл бұрын
happy to hear its just the video and my brand new computer is not broken
@TheTacoBros
@TheTacoBros 2 жыл бұрын
@@pleasedontsub2732 me too
@winddoggo9406
@winddoggo9406 5 жыл бұрын
Good thing I found this video I've been trying to do this in class, but no one understood what I needed help with. Great tutorial
@PauliPrints
@PauliPrints 2 жыл бұрын
my left ear enjoyed this tutorial
@eloise_m._r
@eloise_m._r 2 жыл бұрын
THANK YOU SO MUCH, I'VE BEEN TRYING EVERYTHING AND FOUND THE VIDEO LAST MINUTE
@Skully8P1234
@Skully8P1234 3 жыл бұрын
Great video! helped a lot and it was funny when alexa started talking
@notesfromanomad8707
@notesfromanomad8707 3 жыл бұрын
Yeah I mean it scared the EF out of me.
@adamhoskins1933
@adamhoskins1933 4 жыл бұрын
You activated my Alexa aswell! Thats some time travel stuff right there!
@Techn0forlife
@Techn0forlife 3 жыл бұрын
Giving a thumbs up cause he made the text "POOP"
@reedceniviva5756
@reedceniviva5756 4 жыл бұрын
i wish all youtube tutorials were like this
@noraplay1881
@noraplay1881 3 жыл бұрын
This is the only script working for text on trigger on YT, many thanks
@amees89
@amees89 3 жыл бұрын
Thx for that Help! :D Very Nice
@damonmcdonald6448
@damonmcdonald6448 2 жыл бұрын
A nice and quick tutorial. Thank you! What would the code look like to trigger a youtube video to open and close? Or any video for that matter?
@duckman6581
@duckman6581 4 жыл бұрын
Thanks, I wanted to make a Pop-up text like In fallout when entering a new city etc
@fakezii4516
@fakezii4516 Жыл бұрын
my left ear loved this tutorial. jokes aside it was super helpful even though its old
@notesfromanomad8707
@notesfromanomad8707 Жыл бұрын
Yes it’s old. So em I. 🫡
@DonutDev
@DonutDev 4 жыл бұрын
THANKS A LOT YOU LIFE SAVER!
@kasunlee7489
@kasunlee7489 3 жыл бұрын
"Alexa Stop! Jesus!" 😂
@roblox254r
@roblox254r 4 жыл бұрын
How do i make with 2d environment?
@Manhsterz
@Manhsterz 3 жыл бұрын
Thanks for that video !
@notesfromanomad8707
@notesfromanomad8707 3 жыл бұрын
Manhsterz no problem!
@notesfromanomad8707
@notesfromanomad8707 3 жыл бұрын
Hey you guyyyyyys, I’ll convert this channel into a game making channel yeah? Cool, subscribe.
@carroll6
@carroll6 4 жыл бұрын
it's hard to see what you are doing on there. I am just a cub. I have a small monitor and I am peering at the code you are writing.
@yusufhanarslan2240
@yusufhanarslan2240 4 жыл бұрын
Thank You :)
@pursuer7632
@pursuer7632 2 жыл бұрын
my left ear enjoyed the video
@notesfromanomad8707
@notesfromanomad8707 2 жыл бұрын
Somebody already posted that joke 😌
@yxd7
@yxd7 3 жыл бұрын
my right ear feels lonely
@maxdelissen2760
@maxdelissen2760 2 жыл бұрын
Thank you!
@pattyanimates5002
@pattyanimates5002 5 жыл бұрын
2:55 WOAH!
@kb_verruckt2735
@kb_verruckt2735 3 жыл бұрын
"Alexa stop"
@shyanneautumn3461
@shyanneautumn3461 4 жыл бұрын
i cant find the fps controller asset
@user-sf6wi2yw5o
@user-sf6wi2yw5o Жыл бұрын
After I add the script there are no options that pop up to add the UI Object or Cube along with the script in the inspector. I'm not sure what I'm doing wrong, please help. I've followed so many different tutorials and have watched this all the way through probably 10 times and this is the issue I keep running into.
@Se_Goober
@Se_Goober 3 жыл бұрын
U just saved me from failing game 101
@notesfromanomad8707
@notesfromanomad8707 3 жыл бұрын
Good! There’s a gaming 101 class?
@snakerygamess96s68
@snakerygamess96s68 3 жыл бұрын
hey so i followed how to do it in 2d and it isnt working i cant put text in and i cant put the trigger
@astrixxsaser7767
@astrixxsaser7767 4 жыл бұрын
theres some problem with the 'tag' thingy in the first 'if' statement and i need to know why. come on dude
@ikcy9283
@ikcy9283 2 жыл бұрын
Thank you so much
@calendil
@calendil 2 жыл бұрын
Not sure that you need to add using UnityEngine.UI.. It is greyed out on your editor as well.
@V.Z.69
@V.Z.69 3 жыл бұрын
I hear years ago, "C Sharp is what to learn..." I ignored it, stayed with Java and Flash... now they are both DEAD. I am doing a 2D with static text. But I want to add the TEXT dynamically to the "board game". I have a grid and 80 squares that get added dynamically. It wasn't too tedious, but I got it down. Now to add text. Why is it so hard? Empty, add component Text. Or just Text? I drag it to the scene and it's not visible. I don't even get this Unity and C Sharp. Help! By the way, I have programmed for some years.... but it was also years ago. I am aware of keyfrrames and scenes, from a Flash point of view. This new API is bizarro for me.
@LiminalDreams91
@LiminalDreams91 5 жыл бұрын
What do I need to change in the script for this to work in 2D because I've been struggling xD
@mattheweccles620
@mattheweccles620 5 жыл бұрын
same
@billblap2231
@billblap2231 4 жыл бұрын
instead of ontrigger use ontrigger2d
@marc-antoine7596
@marc-antoine7596 3 жыл бұрын
my left ear crying rn
@sineadb97
@sineadb97 5 жыл бұрын
Hi this is not working for me. There are no errors in my code and I have my cube set as a trigger. I have triple checked everything and it is the way you said and still not working :(
@zacwsh2965
@zacwsh2965 4 жыл бұрын
same
@unity3040
@unity3040 5 жыл бұрын
gOOOOOOOOOOOOOOOOOOOOOOD!!
@serbangheorghe3224
@serbangheorghe3224 3 жыл бұрын
I don't have any error but it not working...
@fedebru2828
@fedebru2828 2 жыл бұрын
nice resolution
@anaazimi3375
@anaazimi3375 4 жыл бұрын
am i the only one couldn't make it?
@ZyonOfficial
@ZyonOfficial 2 жыл бұрын
My right ear got triggered
@notesfromanomad8707
@notesfromanomad8707 2 жыл бұрын
Good 😌
@pilotrl2709
@pilotrl2709 3 жыл бұрын
Hello I need help because it doesn't work the script: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class AddUI : MonoBehaviour { public GameObject UiObject; public GameObject TextObject; public GameObject cube; void Start() { UiObject.SetActive(false); TextObject.SetActive(false); } void OnTiggerEnter(Collider other) { if (other.tag == "Player") { UiObject.SetActive(true); TextObject.SetActive(true); } } void Update() { } void OnTiggerExit(Collider other) { UiObject.SetActive(false); TextObject.SetActive(false); Destroy(cube); } } The public GameObject TextObject; is for an Image and Text spawn any suggestion? Thanks
@notesfromanomad8707
@notesfromanomad8707 3 жыл бұрын
Ontriggerenter my goodman. Tigger is one of my favorite Winnie the Pooh characters though. void On"Tigger"Exit(Collider other) Trigger.
@pilotrl2709
@pilotrl2709 3 жыл бұрын
@@notesfromanomad8707 ok thanks
@tech-boy334
@tech-boy334 2 жыл бұрын
You are in my left ear xD
@notesfromanomad8707
@notesfromanomad8707 2 жыл бұрын
You’re welcome ☺️
@RockDude65
@RockDude65 3 жыл бұрын
It didn't work. No errors or anything
@moos119
@moos119 3 жыл бұрын
ahh the messed up stereo is messing with me
@notesfromanomad8707
@notesfromanomad8707 3 жыл бұрын
I know 😌
@ZooTycoon2witchdoc1
@ZooTycoon2witchdoc1 2 жыл бұрын
lowkey sound like h3h3
@minesmr
@minesmr 4 жыл бұрын
2:55 when ur mom comes in ur room (but its alexa) :o
@notesfromanomad8707
@notesfromanomad8707 3 жыл бұрын
Hahahahah
@evflow2012
@evflow2012 Жыл бұрын
dont work
@mr.artisan
@mr.artisan 5 жыл бұрын
I get these 3 errors: error CS1026: ) expected error CS1002: ; expected error CS1513: } expected Any ideas?
@elitefusionz02
@elitefusionz02 5 жыл бұрын
Yep In your script lets say you put void OnTriggerEnter(Collider other { } You should put void OnTriggerEnter(Collider other) { } look around your script for the bracket ")" Or "}" Sorry for the late reply.
Unity3D - Trigger animations (keypress trigger)
6:27
CubicBrain
Рет қаралды 161 М.
Can AI code Flappy Bird? Watch ChatGPT try
7:26
candlesan
Рет қаралды 9 МЛН
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 210 МЛН
ОБЯЗАТЕЛЬНО СОВЕРШАЙТЕ ДОБРО!❤❤❤
00:45
Chapitosiki
Рет қаралды 4,9 МЛН
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 101 МЛН
Unity in 100 Seconds
2:45
Fireship
Рет қаралды 1,1 МЛН
How to ACTUALLY get into Gamedev
14:01
DaFluffyPotato
Рет қаралды 708 М.
Unity 5 - Showing Text on Trigger
6:12
2KMIXEDIT
Рет қаралды 88 М.
HOW TO DISPLAY TEXT FROM AN INPUT FIELD USING C# UNITY TUTORIAL
7:45
How To Pass a Text From Scene1 ➡ Scene2 - Unity C# 2021
13:08
The Ultimate Developer
Рет қаралды 19 М.
How to make a finish line in Unity 2D/3D 2021
6:53
Hackingtons Code School
Рет қаралды 25 М.
Image Appear on TRIGGER in Unity
6:22
SpeedTutor
Рет қаралды 99 М.
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 520 М.
😱 Майнкрафт, но Мы Построили СУПЕР ЗАМОК [Битва 1 на 1] + Фиксплей
21:01
skibidi toilet 76 (full episode)
8:11
DaFuq!?Boom!
Рет қаралды 20 МЛН