Array control with structures and result display in UI.

Good morning, everyone.

I’m still stuck with my problem:

-To make some mines that generate resources, multiplied, by two float and that this multiplication will be added in a float every second.

I have constructed it with structures, to be able to remove or to add at any moment a variable or to modify it to my taste and my objective is to add the list of structures, the mines that I want and that it crosses and it carries out, the first operation that I have put, but I do not obtain it. Also, it only gives the result of the multiplication, it doesn’t add up and show the sum of the repeated operation.

I would also like to show that float in a Text in the UI, but neither the text is shown and I can’t do it.

I show you images of the cases.

If you think it is convenient to do it in another way, I am open without problem. It can be that I am very focused in doing it in this way, but it can be, that it is not the best.

Thank you very much to all.