H
H
Herman Coffman2020-07-10 17:42:47
C++ / C#
Herman Coffman, 2020-07-10 17:42:47

Time and SetActive class, what's wrong with them?

Hello. Pause question. I have a button that should do the following:
1. Turn on the pause panel.
2. Call the function
public void Pause()
{
Time.timeScale = 0f;
}
It includes a pause, but the panel remains inactive.
I tried to turn it on from the script - the link to the socket becomes zero, I tried it from another script - the same situation
Tell me what could be wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question