diff --git a/MvvmUnityProj/CCG/Assets/Code/MVVM/MainScreen/ViewModel/MainScreenViewModel.cs b/MvvmUnityProj/CCG/Assets/Code/MVVM/MainScreen/ViewModel/MainScreenViewModel.cs index acc8806..d30ea0d 100644 --- a/MvvmUnityProj/CCG/Assets/Code/MVVM/MainScreen/ViewModel/MainScreenViewModel.cs +++ b/MvvmUnityProj/CCG/Assets/Code/MVVM/MainScreen/ViewModel/MainScreenViewModel.cs @@ -6,6 +6,7 @@ using CCG.MVVM.Card.ViewModel; using CCG.MVVM.CoolPopup.Payload; using CCG.MVVM.MainScreen.Subviews.TextView; +using CCG.MVVM.StatsChanger; using CCG.Services.Game; using UnityEngine; using UnityMVVM.ViewManager; @@ -54,6 +55,7 @@ private void OnCardAdded(ICardModel card) protected override void OnSetupInternal() { CreateSubView(ViewNames.TextView, _cardsContainer, new TextViewPayload("SOME_TEXT")); + GetSubview().ChangeCardStat(); } private void IntiGame()