Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question