예제 #1
0
 private void CreateButtonPMs()
 {
     foreach (KeyValuePair <string, ILoginPromotionData> kvp in mManager.ActivePromotionData)
     {
         IActiveLoginPromoButtonPM pm = mSpawnerForButtonPM.Create(kvp.Value);
         ButtonPMs.Add(pm);
     }
 }
예제 #2
0
        public void Init(IActiveLoginPromoButtonPM i_pm)
        {
            mPM = i_pm;

            SetModel(mPM.ViewModel);
        }