I have an inventory system that displays the item collected and dynamically creates item prefabs. I want to make it clickable however it seems like the OnClick
is not working.
All I have for the OnClick
script is a method that shows a visual indicator over the selected item and also has a debug text output that isn’t being called.
(more info and screenshot goes here)
(question goes here) ?