コード例 #1
0
    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);
    }
コード例 #2
0
    public void SetActiveLevel(ViewCellInLevelList newActiveCell)
    {
        _activeCell = newActiveCell;

        _windowCreateOrEditLevel.SetCurrentLevel(newActiveCell);
    }