Hello
I need a help. I am developing a game and I am having such a big issue. I have assigned one script on button, This button is upgrade, on click it increments int by one ( i++). But I dont know, how to get a value from that button (int value) because when I want to use Debug.Log (int) the Unity says NullReferenceExpression but this int has value of 3. Help please :) Thanks to everyone for trying to help