Exemplo n.º 1
0
    public void StopPlaying()
    {
        audioSource.Stop();
        ClearChildren();
        listIndex = 0;
        GameObject.Destroy(audioGameObject);
        myLoadedAssetBundle.Unload(true);
        foreach (ClickAreaCtrl c in clickAreas)
        {
            c.gameObject.SetActive(false);
        }
        gameUI.SetActive(false);
        pickUI.SetActive(true);
        gameElements.SetActive(false);
        gameObject.SetActive(false);

        GameLogger.ExportToDisk();
    }