#I cant solve it

1 messages · Page 1 of 1 (latest)

mellow crag
rare ravine
#

Freeze as in "time scale becomes 0", or freeze as in "stops running and crashes"?

If it's the former, it's very likely because you are handling pause state (and everything that goes along with it) in two places. You have a PauseMenu class that should be handling everything, but for some inconceivable reason you decided to also handle setting pause state inside your PlayerMovement, in a completely separated way. This will lead to conflicts, because you are setting the same values (like cursor state and time scale) in two different places.

mellow crag