Home Game Development unity – Survival Game Campfire Mechanic

unity – Survival Game Campfire Mechanic

0
unity – Survival Game Campfire Mechanic

[ad_1]

I’ve been questioning what could be one of the best methodology to put a bowl on a campfire in Unity utilizing c#, just like how it’s completed on Green Hell. I at present have a listing system arrange the place you may equip the merchandise in your fingers from the hotbar.

The motive I’m asking it is because my present brute drive methodology is to have the campfire discover the gamers bowl with GameObject.Find after it has been instantiated, the participant can then press E on the campfire to put it on it.

It would clearly be foolish to have the campfire discover the bowl and some other merchandise that’s able to going onto the campfire like meat or wooden and many others so I’m questioning what could be the best approach to have this work with a number of objects.

If there’s a explicit video I can watch to get an concept that’d be nice as I’m actually caught on this at present.

Thanks in superior.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here