After talking about scope, shouldn’t max equaling 1001 be destroyed after walking out the Start function? So Update wouldn’t see the variable as 1001 but rather as 1000 as it’s declared in the main class? Why does it work instead of us having to put the max = max + 1 at the top of the Update function (I understand why we can’t put it in the class)?
I understand that perfectly, so not a problem. What I was querying was why we put (max = max + 1) in the Start function instead of the Update function because I was thinking of scope but I kinda figured out where I went wrong with my thinking. And that was because I was replying to you so you still helped. Thanks!