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

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

Notes From A Nomad

Notes From A Nomad

Күн бұрын

Пікірлер: 79
@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 4 жыл бұрын
My left ear enjoyed this.
@pleasedontsub2732
@pleasedontsub2732 3 жыл бұрын
happy to hear its just the video and my brand new computer is not broken
@TheTacoBros
@TheTacoBros 2 жыл бұрын
@@pleasedontsub2732 me too
@winddoggo9406
@winddoggo9406 6 жыл бұрын
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
@lobbywww
@lobbywww Ай бұрын
Nice and easy explanation. Thank you for that.
@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. 🫡
@Techn0forlife
@Techn0forlife 4 жыл бұрын
Giving a thumbs up cause he made the text "POOP"
@pursuer7632
@pursuer7632 2 жыл бұрын
my left ear enjoyed the video
@notesfromanomad8707
@notesfromanomad8707 2 жыл бұрын
Somebody already posted that joke 😌
@eloise_m._r
@eloise_m._r 2 жыл бұрын
THANK YOU SO MUCH, I'VE BEEN TRYING EVERYTHING AND FOUND THE VIDEO LAST MINUTE
@reedceniviva5756
@reedceniviva5756 4 жыл бұрын
i wish all youtube tutorials were like this
@notesfromanomad8707
@notesfromanomad8707 3 жыл бұрын
Hey you guyyyyyys, I’ll convert this channel into a game making channel yeah? Cool, subscribe.
@kasunlee7489
@kasunlee7489 3 жыл бұрын
"Alexa Stop! Jesus!" 😂
@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!
@noraplay1881
@noraplay1881 3 жыл бұрын
This is the only script working for text on trigger on YT, many thanks
@duckman6581
@duckman6581 4 жыл бұрын
Thanks, I wanted to make a Pop-up text like In fallout when entering a new city etc
@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?
@maxdelissen2760
@maxdelissen2760 2 жыл бұрын
Thank you!
@pattyanimates5002
@pattyanimates5002 5 жыл бұрын
2:55 WOAH!
@kb_verruckt2735
@kb_verruckt2735 3 жыл бұрын
"Alexa stop"
@yxd7
@yxd7 3 жыл бұрын
my right ear feels lonely
@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.
@amees89
@amees89 3 жыл бұрын
Thx for that Help! :D Very Nice
@calendil
@calendil 2 жыл бұрын
Not sure that you need to add using UnityEngine.UI.. It is greyed out on your editor as well.
@MadisonHeynen
@MadisonHeynen Жыл бұрын
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?
@Manhsterz
@Manhsterz 3 жыл бұрын
Thanks for that video !
@notesfromanomad8707
@notesfromanomad8707 3 жыл бұрын
Manhsterz no problem!
@ZyonOfficial
@ZyonOfficial 2 жыл бұрын
My right ear got triggered
@notesfromanomad8707
@notesfromanomad8707 2 жыл бұрын
Good 😌
@yusufhanarslan2240
@yusufhanarslan2240 4 жыл бұрын
Thank You :)
@roblox254r
@roblox254r 5 жыл бұрын
How do i make with 2d environment?
@DonutDev
@DonutDev 4 жыл бұрын
THANKS A LOT YOU LIFE SAVER!
@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
@ikcy9283
@ikcy9283 2 жыл бұрын
Thank you so much
@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.
@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
@minesmr
@minesmr 4 жыл бұрын
2:55 when ur mom comes in ur room (but its alexa) :o
@notesfromanomad8707
@notesfromanomad8707 4 жыл бұрын
Hahahahah
@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
@moos119
@moos119 3 жыл бұрын
ahh the messed up stereo is messing with me
@notesfromanomad8707
@notesfromanomad8707 3 жыл бұрын
I know 😌
@anaazimi3375
@anaazimi3375 5 жыл бұрын
am i the only one couldn't make it?
@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
@unity3040
@unity3040 5 жыл бұрын
gOOOOOOOOOOOOOOOOOOOOOOD!!
@shyanneautumn3461
@shyanneautumn3461 4 жыл бұрын
i cant find the fps controller asset
@astrixxsaser7767
@astrixxsaser7767 4 жыл бұрын
theres some problem with the 'tag' thingy in the first 'if' statement and i need to know why. come on dude
@tech-boy334
@tech-boy334 2 жыл бұрын
You are in my left ear xD
@notesfromanomad8707
@notesfromanomad8707 2 жыл бұрын
You’re welcome ☺️
@serbangheorghe3224
@serbangheorghe3224 3 жыл бұрын
I don't have any error but it not working...
@ZooTycoon2witchdoc1
@ZooTycoon2witchdoc1 3 жыл бұрын
lowkey sound like h3h3
@fedebru2828
@fedebru2828 3 жыл бұрын
nice resolution
@RockDude65
@RockDude65 3 жыл бұрын
It didn't work. No errors or anything
@bas777ien
@bas777ien 2 ай бұрын
ALEXA STOP
@notesfromanomad8707
@notesfromanomad8707 2 ай бұрын
@@bas777ien an oldie but a goodie, back when I was watching countless hours of coding, using others people’s videos to learn, making crappy games with extra long code that doesn’t work well together, making games bigger then they need to be. Now I’m a few years older, haven’t made a crappy game since.
@evflow2012
@evflow2012 Жыл бұрын
dont work
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 721 М.
The Making of Karlson 2D (Game)
11:41
Dani
Рет қаралды 6 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 13 МЛН
My Daughter's Dumplings Are Filled With Coins #funny #cute #comedy
00:18
Funny daughter's daily life
Рет қаралды 36 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 275 #shorts
00:29
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 131 МЛН
C++ Developer Learns Python
9:26
PolyMars
Рет қаралды 2,7 МЛН
HOW TO CHANGE SCENES WITH A TRIGGER IN C# UNITY TUTORIAL
4:42
Jimmy Vegas
Рет қаралды 95 М.
Configurable TIMER / STOPWATCH Unity Tutorial
11:08
BMo
Рет қаралды 35 М.
Unity in 100 Seconds
2:45
Fireship
Рет қаралды 1,1 МЛН
Unity Tutorial 04 - Showing Text on Trigger
9:38
Shane Collard
Рет қаралды 10 М.
START MENU in Unity
12:52
Brackeys
Рет қаралды 3,1 МЛН
How to ACTUALLY get into Gamedev
14:01
DaFluffyPotato
Рет қаралды 734 М.
How To Implement Key Rebinding |  Unity Input System Tutorial
14:52
PAUSE MENU in Unity
12:13
Brackeys
Рет қаралды 991 М.
I Paid Fiverr Game Developers to Make the Same Game
10:25
BadGameDev
Рет қаралды 728 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 13 МЛН