public void FocusLevel(bool focus, LevelSelectMode mode) { if (mode == LevelSelectMode.Campaign) { if (focus) { levelRegionCampaign.SetActive(true); } else { buttonsCampaign.SetActive(true); } } else { if (focus) { levelRegionSurvival.SetActive(true); } else { buttonsSurvival.SetActive(true); } } }
public void OpenLevelSelect(LevelSelectMode mode) { if (mode == LevelSelectMode.Campaign) { campaignLevelSelect.SetActive(true); } else { survivalLevelSelect.SetActive(true); } }