r/UnityHelp • • Apr 16 '21

PROGRAMMING Buttons are Hardcore Apparently? [Bolt, Programming]

Hey friends!

tldr: I've been trying to make a button load the Main Menu and no matter what tutorial I follow or the code I use, the clicks just... do not trigger. I've included a video of what's going on to give more context. I'm also happy to answer any questions!

(I'm using Bolt to code and do not plan to use traditional code for this project until I fully understand bolt (baby steps).)

Extra Info: I've just started using Unity a couple of months ago. I picked up Bolt as well to make the project coding faster for someone who knows very little about coding. I mean, I managed to code my own character controller completely from scratch. It's just this simple button feature that is deciding not to work... so I was wondering if anyone here on UnityHelp knew any solutions and is willing to share their ideas.

Any and all help is very much appreciated!

If you need any more info not listed here please ask!

Thank you!

4 Upvotes

1 comment sorted by

1

u/Raward123 Jul 29 '23

Update: Many a moment later, simply make sure the 2D collider is arranged to cover the button first off. Second off, create your own Subgraph using a raycast and apply it to UI elements you want to interact with. That way it grants you more options than the default button UI.