Another way of disabling Player controls is disabling PlayerController script
enabled = false;
Which means PlayerController.Update
method just won’t be called.
BTW, I’m also disabling SurfaceEffector2D
so that it wouldn’t move the Player =)
Another way of disabling Player controls is disabling PlayerController script
enabled = false;
Which means PlayerController.Update
method just won’t be called.
BTW, I’m also disabling SurfaceEffector2D
so that it wouldn’t move the Player =)
Yes, good spot