refactor(kv): 整理存档接线并清理迁移冗余实现
This commit is contained in:
@@ -10,7 +10,7 @@ using System.Collections.Generic;
|
||||
|
||||
public class EventPartnerEntryButton : EventButtonResource
|
||||
{
|
||||
game.PlayerDataStorage.IPlayerSaveStore saveStore;
|
||||
Core.KV.IPlayerSaveStore saveStore;
|
||||
|
||||
[SerializeField] private TMP_Text _textTimer;
|
||||
[SerializeField] private Button _btn;
|
||||
@@ -20,7 +20,7 @@ public class EventPartnerEntryButton : EventButtonResource
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
saveStore = GContext.container.Resolve<game.PlayerDataStorage.IPlayerSaveStore>();
|
||||
saveStore = GContext.container.Resolve<Core.KV.IPlayerSaveStore>();
|
||||
// Debug.Log($"<color=#e23f31>[EventPartner] Icon Awake</color>");
|
||||
GContext.OnEvent<EventPartnerDataLoaded>().Subscribe(_ => OnDataLoaded()).AddTo(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user