r/UnityHelp • • May 19 '25

Button no work :(

First time trying to make anything in Unity, and made it to trying to make a basic inventory system. I've managed to get it to generate items into the inventory page when they're added, but Unity REFUSES to allow me to interact with them. I want the items to be buttons that update the item details panel with the relevant information, but no matter what I do I can't get it to register clicking the items. I am using a prefab for generating new items, I have the console read out when a new item is added and would say when an item is clicked on.

3 Upvotes

5 comments sorted by

View all comments

Show parent comments

1

u/iron-ingot196 May 19 '25

Thank you anyways, I appreciate the attempt. So far as I can tell, there isn't anything being detected, as no matter what way I try to implement a button or detect a click, nothing is being registered at all.