- Home /
[UI QUESTION] How to drecrease the UI points while the player does more actions
In my game the player must draw some lines, but it's a puzzle, he must draw the minimum lines as possible. I use the Liner Rederer and the line points are saved in a Vector2 List. I compare this List.Count to some reference numbers, and can say how many points the player did. But i have two problems: 1- i dont know how to show to the player his points dropping. I can only show the exact points he has in the moment. I want show his points dropping as he draw.
2- If the player draw more the one line, my "code points" crashes, because it compares just to the last line draw... and i need to know the sum of all the points in everey List made by the lines.
(each line makes one different list, i need this to erase the lines);
plz help me to solve those problems :)
ps. English isnt my first lenguage, so im sorry for any errors. Thanks!
Your answer
![](https://koobas.hobune.stream/wayback/20220612234400im_/https://answers.unity.com/themes/thub/images/avi.jpg)