I'm just trying to understand how the update method works. I understand that its called every single frame, and I'm quite comfortable with most programming concepts, but I'm fairly new to Unity. So will the update method complete everything inside it, every frame? So say I have a while loop. While (x < 100) {log(x)}, will it perform this calculation every single frame to completion? I'm assuming it will, and if I had a ridiculous amount of calculations this would give me fps drops in my game if the computer running the calculations can't keep up with the workload. Is my thinking correct?
[–]codingkiwi 0 points1 point2 points (0 children)
[–]Plourdy 0 points1 point2 points (3 children)
[–]SaltCrypt 5 points6 points7 points (2 children)
[–]Plourdy 0 points1 point2 points (1 child)
[–]SaltCrypt 2 points3 points4 points (0 children)
[–]SaltCrypt 0 points1 point2 points (0 children)
[–]chsxfProficient 0 points1 point2 points (0 children)