Ejemplo n.º 1
0
 private void CreateSingleRewardViews()
 {
     foreach (ISingleRewardPM rewardPM in mPM.SingleRewardPMs)
     {
         GameObject       rewardObject = gameObject.InstantiateUI(SingleRewardViewPrefab, SingleRewardViewContent);
         SingleRewardView viewScript   = rewardObject.GetComponent <SingleRewardView>();
         viewScript.Init(rewardPM);
     }
 }