public void SetNextLevel() { currentLevelDefinition = levelDefinitions[LevelDefinitionHelper.SetNextLevelIndex()]; }
public bool HasNextLevel() { return(LevelDefinitionHelper.GetCurrentLevelIndex() < levelDefinitions.Count - 1); }
// Start is called before the first frame update void Start() { currentLevelDefinition = levelDefinitions[LevelDefinitionHelper.GetCurrentLevelIndex()]; UpdateMap(); }