- Home /
Question by
elachkarmoe9593 · Mar 26, 2019 at 06:45 PM ·
scripting beginnerscrollviewimplementation
Need help on gas fuel implementation ( Beginner)
Hi, so im a beginner and needed some help involving fuel consumption. I basically have a fuel gauge comprised of many buttons that hold fuel within them. For example each button holds 10 fuel which totals 80 (10 fuel * 8 buttons). The way the lose gas is based off which track they click on and the gas they lose is just random number. Then the last thing is refueling and thats when they click on the refuel button. I guess my main issue is visualizing and connecting the scene and script together, i made the scene and the code doesn't seem difficult to make but im just confused. Any tips on how to approach this would be great. Thank you. (Below).
screenshot.png
(44.8 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612194322im_/https://answers.unity.com/themes/thub/images/avi.jpg)