How to add gui script to a gameobject (SOLVED)

I cannot, for the life of me, figure out how to add my gui_script to a gameobject. My script is under a folder in main called buttons along with a bunch of other stuff such as a collection, a gui, and an atlas. Where ever I make a gameobject, it is unable to find the gui script when I try to add it to the collection (the option never shows up). I can add my gui from my collection just fine but not my gui_script. I’ve tried moving the script, making a gameobject inside my buttons folder (where everything else is) and adding it to that. Nothing works.

You don’t add a gui_script to a game object, you add it to a gui file itself -

5 Likes

Aw, ok. I saw some older stuff so maybe that’s changed. TY

1 Like

Did you see an error in the documentation? We’d love to fix it! :slight_smile:

1 Like

Looked back at it and it seems I was just looking at stuff about the gui and not the gui_script. It was an error on my end.

2 Likes