private IEnumerator Select(IProject selection, ConstructionPanelScript panel, City selectedCity, GUIMaster gui) { yield return(StartCoroutine(selection.OnSelect(selectedCity, gui))); panel.FinishSelection(selection); yield break; }
public void StartSelection(IProject selection, ConstructionPanelScript panel, City selectedCity, GUIMaster gui) { StartCoroutine(Select(selection, panel, selectedCity, gui)); }