Example #1
0
 void Start()
 {
     leaderBoard.scoreType = "random9_score";
     leaderBoard.ReloadLeaderBoard();
     history.store = "GAME-9";
     history.keys  = new string[] { "rand" };
     history.formatItemFunction = new FormatItemDataHandler(GetHistoryText);
     history.LoadHistory();
     InitialBoard();
     UpdateMoney();
 }
Example #2
0
 void Start()
 {
     leaderBoard.scoreType = "lowhighgame_score";
     leaderBoard.ReloadLeaderBoard();
     history.store = "LOWHIGHGAME";
     history.keys  = new string[] { "result" };
     history.formatItemFunction = new FormatItemDataHandler((data) =>
     {
         return(data.GetTime().ToString("MM-dd HH:mm:ss " + data.values["result"]));
     });
     history.LoadHistory();
     InitCardSprite();
     ShowCardBack(card2);
     RandomCard();
     DisplayMoney();
 }