how to make objcts freeze in time unity 2d code example Example: freeze time unity 2d script Time.timeScale = 0;