protected virtual void Start() { CreateRecordItems(); // Create new Pagination with default values _paginator = new PYPagination(0, AmountRecordsItemPerPage, 1); }
// Use this for initialization void Start() { // Just for tests! /* * PYScoreData.DeleteAll(); * for (int i = 0; i < 10; i++) * { * PYScoreData.RegisterStudent("MMMMMMMMMMMMMMMMMM" + i, 100 * (i == 0 ? 1 : i), (TagManager.GameDifficulty)Random.Range(1, 4)); * } */ //end test CreateRecordItems(); // Create new Pagination with default values _paginator = new PYPagination(0, AmountRecordsItemPerPage, 1); _currentDifficulty = (int)InitialDifficulty; Show(_currentDifficulty); }