public void Init( PlayerData playerData, AutomationsData automationsData, BadgeData badgeData, DefaultAutomationsData defaultAutomations) { _progressResetter = new ProgressResetter(defaultAutomations); _playerData = playerData; _automationsData = automationsData; _badgeData = badgeData; }
public ProgressResetter(DefaultAutomationsData defaultAutomations) { _defaultAutomationsData = defaultAutomations; }
private void Awake() { _automationsData = (DefaultAutomationsData)target; }