Hello guys, I try to create a 3D game simulating crypto mining. It’s start from a room and a basic PC, when you press on it, is Showing a Panel with your mining power from that graphic card, when press button to start mining, showing my mining rate in a text ‘‘CryptoText’’. The player can buy more rigs from StorePanel, the rigs appear in the Scene after the purchase is done and if the player press on the rig, it’s start mining also, but it doesn’t collect my cryptocurrencies in “CryptoText”, i.e. if the motherboard mines 0.001753/3s and the rig mines 0.001753/3s at the same time, it doesn’t add up, it appears separately in “Cryptotext”. The values are collected separately and appear one after the other in the same “CryptoText”, when I want them to be collected. Don’t show me that he mined 0.23234 and then show me 0.12345 from the rig.
CryptoMining.cs (2.2 KB)
ElectricityManager.cs (2.9 KB)
MiningRig.cs (2.5 KB)
UIController.cs (2.7 KB)