public void OnPressPlay(int difficulty) { if (string.IsNullOrEmpty(textUIJsonSelected.text) || string.IsNullOrEmpty(textUISongSelected.text)) { Debug.Log("NOT ALL FILES PRESENT"); return; } StaticDataManager.difficulty = difficulty; gameManager.SetActive(true); UIEventManager.PrepareGameFireEvent(); choosePanel.SetActive(false); }