Esempio n. 1
0
    public void MultipleToplists()
    {
        Level level = new Level {
            LevelIndex = 1
        };
        int maxLists = 10;
        var score    = 1000;

        multiTopList.SetLocalUsername("foo");
        for (int i = 0; i < maxLists; ++i)
        {
            multiTopList.ReportResult(level, score);
            level.LevelIndex++;
        }
        Assert.AreEqual(multiTopList.localLists.Count, maxLists);
    }
Esempio n. 2
0
 public void SetUsername()
 {
     provider.SetLocalUsername(userName.text);
 }