public void BackToPauseMenu() { backgroundMark.FadeOut(0.1f); background.FadeOut(0.2f, 0.1f); MenuController.currentMenu = instance; LastPressed.SetPressed(false); }
public void HideBackground() { backgroundMark.FadeOut(0.2f); background.FadeOut(0.2f, 0.2f); //Invoke("DeactivateBackground", 0.2f); }