UICanvas should not be freeze if i use Time.timeScale in real time

I want to create a menu in game in real time with UICanvas
without GUI elements
I also have a separate scene as main menu and work good
but in real time if i use Time.timeScale and set it to 0
then freezes everything
and my buttons do not respond to mouse
I want to use Time.timeScale = 0;
but UICanvas should not be freeze.

You can set the UI objects’ Animator component “Update Mode” to “Unscaled Time”, which will allow the animations to continue. Not sure if that would prevent click responses though - might depend on your UI logic…