I’ve been questioning how I can place a bowl on a campfire in Unity utilizing C#, just like how it’s accomplished on Inexperienced Hell.
I presently have a listing system arrange the place you possibly can equip the merchandise in your palms from the hotbar.
The rationale I’m asking it is because my present brute drive technique is to have the campfire discover the participant’s bowl with GameObject.Discover
after it has been instantiated. The participant can then press E on the campfire to put it on it.
It might clearly be foolish to have the campfire discover the bowl and every other merchandise that’s able to going onto the campfire like meat or wooden and so on., so I am questioning what can be a extra scalable approach to have this work with a number of gadgets.