Question by
tom41_10tt · Jun 05 at 12:30 PM ·
panelactivate
Panel is not Opening
Hello I am making a game with Gameover panels but they dont load instantly i have to click them another time to open I am using this:
public GameObject GameOver;
void Start()
{
GameOver.SetActive(false);
}
public void PauseGame()
{
GameOver.SetActive(true);
Time.timeScale = 0f;
isover = true;
}
the function PauseGame(); gets activated by a click
Can somebody Help me?
Comment
Your answer
Follow this Question
Related Questions
Counting Activation of specific panels, not updating Variable? 2 Answers
Active object when all the tags are in the collider 1 Answer
With the following script i wanted to activate a collider at the left/right side... 0 Answers
Buttons won't get interaction in instantiated prefab 0 Answers
[SOLVED] Image is not visible in Panel (in game view) 0 Answers