- Thread Author
- #1
How do I use an item in an inventory on a object? Like selecting food to cook on a range.
What I've been doing is selecting object in inventory and then using Gameobject.click() to do this, however if there's someone in front of the object it doesn't work. What is the proper way to do this?
Thanks.
What I've been doing is selecting object in inventory and then using Gameobject.click() to do this, however if there's someone in front of the object it doesn't work. What is the proper way to do this?
Thanks.