void Start() { saveService = FindObjectOfType <SaveService>(); saveService.Setup(new PlayerPrefsStorage()); saveService.Register(someService); saveService.Load(someService); }
void Start() { saveService = FindObjectOfType <SaveService>(); saveService.Setup(new PlayerPrefsStorage()); saveService.Register(someService); saveService.Load(someService); }