I don’t know why, but I feel that I may be close to collapse, my js is bad.
It should be declared as this.tweenStateSwitch = false;
if you want to access it in the update
function.
(Please do remember to paste the actual code in future rather than paste screenshots of code).
Thx,I got it:)