Esempio n. 1
0
    public void OnButtonRemoveAll()
    {
        ApplicationData.ClearScores();

        Transform[] children = scoreListPanel.GetComponentsInChildren <Transform>();
        foreach (Transform child in children)
        {
            Destroy(child.gameObject);
        }
    }