Пример #1
0
    public void DisplayGameOverScreen()
    {
        //INCREMENT ADCYCLE
        PlayerPrefs.SetInt("adCycle", PlayerPrefs.GetInt("adCycle") + 1);


        Emoji.GetComponent <SpriteRenderer>().enabled = true;
        Emoji.GetComponent <SpriteRenderer>().sprite  = (Sprite)Resources.Load("RetryButton2", typeof(Sprite)) as Sprite;
        FlashWinnerText();
        AudioSource.PlayClipAtPoint(WinnerSound, transform.position);
        if (isSinglePlayer)
        {
            robo.DisplayRobo();
        }
    }