I have this code and I want every time you destroy the hexagon to add + 1 to the text
void Update () { scoreText.text = hexagon..ToString("0");}
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613010903im_/https://answers.unity.com/themes/thub/images/avi.jpg)
![]() |
|
Close Help |
void Update () { scoreText.text = hexagon..ToString("0");}