| 123456789101112131415161718192021222324252627 | 
							- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Text;
 
- using System.Threading.Tasks;
 
- namespace GFGGame
 
- {
 
-     public class BonusController
 
-     {
 
-         public static void TryShowBonusList(int[][] bonusInfos, Action onSuccess = null)
 
-         {
 
-             if (bonusInfos != null && bonusInfos.Length > 0)
 
-             {
 
-                 List<ItemData> bonusList = ItemUtil.CreateItemDataList(bonusInfos);
 
-                 ViewManager.Show<RewardView>(new object[] { bonusList, onSuccess });
 
-             }
 
-         }
 
-         public static void TryShowBonusList(List<ItemData> bonusList, Action onSuccess = null)
 
-         {
 
-             if (bonusList != null && bonusList.Count > 0)
 
-             {
 
-                 ViewManager.Show<RewardView>(new object[] { bonusList, onSuccess });
 
-             }
 
-         }
 
-     }
 
- }
 
 
  |