#Please explain this basic code to me
1 messages · Page 1 of 1 (latest)
"timer = " is saying, set the variable "timer" to whatever is to the right of "=", in this case "timer + Time.deltatime". "timer" initial value is set to 0 (as per your variable set up), and Time.deltatime is the elapsed time since last frame. The "+" in "timer + Time.deltatime" just adds those two values together.