Exemplo n.º 1
0
    public void InitLoaded(HiscoresByMissions.MissionHiscoreData data)
    {
        Utils.RemoveAllChildsIn(container);
        HiscoresByMissions hiscoresByMission = UserData.Instance.hiscoresByMissions;

        hiscoresByMission.ResetAllHiscores();
        OnDone(data);
    }
    public void Init(int videoGameID, int missionID, System.Action <int> MyScoreLoaded)
    {
        this.MyScoreLoaded = MyScoreLoaded;
        Utils.RemoveAllChildsIn(container);
        HiscoresByMissions hiscoresByMission = UserData.Instance.hiscoresByMissions;

        hiscoresByMission.ResetAllHiscores();
        hiscoresByMission.LoadHiscore(videoGameID, missionID, OnDone);
    }