r/unity • • 10d ago

Solved WHAT'S WRONG with this UI

P.S ( PROBLEM SOLVED ) Thank's everyone for helping me ( really thanks ! )

i found solution for this problem ( it was so basicly dumb ) in one ofmy old scripts i just locked mouse and bc of that in game i can't interact with them ( yeah dumb me ) but now i fixed it so Thanks Y'all!

( Okay i'm really mad like i did all like in tutorial it didn't worked ,then i used chatgpt to help , didn't help neither I REALLY DON'T KNOW WHAT THE PROBLEM i put everything but this button in Raycast Target FALSE AND STILL NOTHING ... And the last THING THAT STUPID buttons not working as well RAAAARHHH

I'm so burned out )

0 Upvotes

12 comments sorted by

10

u/Soraphis 10d ago

If you asked the AI in the same eloquent fashion you did here, im not questioning why it could not resolve your problem tbh.

Create an empty scene. Only ui and a single button. As action let it disable its own GameObject.

If this does work, go one step at a time until you recreate the ui you wanted

-4

u/STEMARKOT 10d ago edited 10d ago

P.s (uhm i ' m sorry that i were so aggressive ,yeah your idea is great i just were mad and so i don't wanted to do it of all that bug's ) So firstly i made it by video from yt but nothing worked well and so i used AI only BECAUSE VIDEO DIDNT WORK

2

u/wallstop-dev 10d ago

That is definitely a path to doing something. If you're having frustration and confusion, I'd recommend investing in how you're approaching problem solving and learning. The parent's advice is spectacular - make things as simple as possible, then add complexity.

1

u/MistakeForsaken6653 10d ago

Do you have an event system in the scene?  It's not clear from the post what isnt working but I'm assuming it's just not logging "Opening Settings"  

1

u/STEMARKOT 10d ago

Yeah i have it but i really dont know why it's not working i tried like everything

1

u/Hanntman 10d ago

Btw you can check what you are hitting with raycast if you select eventSystem in play mode

2

u/Hanntman 10d ago

Here

1

u/STEMARKOT 10d ago

WAIT HUUUHH how did you Opened it? Like i really don't see it

4

u/Hanntman 10d ago

It is the "preview" part of inspector, in play mode only

1

u/STEMARKOT 10d ago

YOO thanks so much !

0

u/Fofanius 10d ago

If it's the only button that doesn't react - something cover it (transparent and rayacst target) If any buttons (and other elements) doesn't react - I assume you don't have EventSystem in your scene

0

u/STEMARKOT 10d ago

I have event system in my scene and i made every invisible thing Raycast target False