public void Load() { foreach (var data in _datas) { if (data is IUpdatable) { ControllersUpdater.RemoveUpdate((IUpdatable)data); } var item = data; _saver.Load(ref item, _folderPath); } Loaded.Invoke(); }
public void FromLoad() { ControllersUpdater.RemoveUpdate(this); }
public void Dispose() { ServiceLocator.GetDependency<RadarController>().RemoveObject(_gameObject); ControllersUpdater.RemoveUpdate(this); _gameObject.SetActive(false); }