Good Evening,
I would like to invoke a function after you press the button, I tried every way but it does not work. Do you have any idea?
This is my script
public void ResumeGame()
{
anim.SetTrigger ("NoPausa");
Invoke ("ResumeGAME",0.84f);
}
void ResumeGAME ()
{
PausePanel.SetActive (false);
Time.timeScale = 1.0f;
paused = false;
}
After several tests, it seems that fails to invoke the function, I tried but it does not work the same with coroutines