IEnumerator CreditosCo() { yield return(new WaitForSeconds(0.5f)); MainPanel.SetActive(false); PanelCredits.SetActive(true); }
IEnumerator RegresarCo() { yield return(new WaitForSeconds(0.5f)); PanelCredits.SetActive(false); PanelControls.SetActive(false); MainPanel.SetActive(true); }
void OnDestroy() { instance = null; }
public void SetCreditsVisibility(bool visible) { PanelCredits.SetActive(visible); }
void Awake() { instance = this; }