예제 #1
0
    IEnumerator CreditosCo()
    {
        yield return(new WaitForSeconds(0.5f));

        MainPanel.SetActive(false);
        PanelCredits.SetActive(true);
    }
예제 #2
0
    IEnumerator RegresarCo()
    {
        yield return(new WaitForSeconds(0.5f));

        PanelCredits.SetActive(false);
        PanelControls.SetActive(false);
        MainPanel.SetActive(true);
    }
예제 #3
0
 void OnDestroy()
 {
     instance = null;
 }
예제 #4
0
 public void SetCreditsVisibility(bool visible)
 {
     PanelCredits.SetActive(visible);
 }
예제 #5
0
 void Awake()
 {
     instance = this;
 }