public void SetCurrentLevel(ViewCellInLevelList cell) { Debug.Log("SetCurrentLevel cell.Name " + cell.Name); _currentLevel = XmlSerializator.OpenLevel(cell.Name); cell.ProfileContainedInCell = _currentLevel; _showFieldInEditor.ShowField(_currentLevel); _btnEditLevel.interactable = true; LevelSelectInEditor = int.Parse(_currentLevel.nameOfLevel); }
public void SetActiveLevel(ViewCellInLevelList newActiveCell) { _activeCell = newActiveCell; _windowCreateOrEditLevel.SetCurrentLevel(newActiveCell); }