Example #1
0
        private IEnumerator Select(IProject selection, ConstructionPanelScript panel, City selectedCity, GUIMaster gui)
        {
            yield return(StartCoroutine(selection.OnSelect(selectedCity, gui)));

            panel.FinishSelection(selection);
            yield break;
        }
Example #2
0
 public void StartSelection(IProject selection, ConstructionPanelScript panel, City selectedCity, GUIMaster gui)
 {
     StartCoroutine(Select(selection, panel, selectedCity, gui));
 }