Example #1
0
    //update levelname display texts, tell stats to refresh with new data, tell map to generate anew
    public void vUpdateData()
    {
        m_LevelsCount = MenuLoadLevelsFromXML.Instance.Names.Count;

        foreach (LevelsNameUI obj in m_TextObjs)
        {
            obj.SendMessage("vGetText");
        }

        vGetNewLevelStats();
        m_StatsObject.vSetData(sTags, sSecs, sFras, sShts);

        m_MapObject.vClearMap();
        vGetNewMapData();
    }