예제 #1
0
 /// <summary>
 /// Gets a page list of users
 /// </summary>
 /// <param name="page">Current page to get</param>
 public void GetPage(int page)
 {
     Pagination       = Enjin.GetUsersByAppID(page, EnjinEditor.ItemsPerPage);
     TotalPages       = (int)Mathf.Ceil((float)Pagination.cursor.total / (float)Pagination.cursor.perPage);
     UserList         = new List <User>(Pagination.items);
     HasRefreshedList = true;
 }