Y
Y
Yura Mailler2020-11-30 07:01:59
Unity
Yura Mailler, 2020-11-30 07:01:59

How to stop the scene without stopping the UI?

Hello! When creating a pause for the game, I ran into a problem that when using Time.timeScale, the whole scene stops for me, even UI objects (they are animated) and because of this, the pause menu does not work, I need everything to stop except UI when the pause starts.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Maximovich, 2020-11-30
@Yura111

Add a game state in which you will enable / disable the pause. Accordingly, in all subsystems you will refer to your state and not rely on Time.timeScale.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question