Beispiel #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;
        }
Beispiel #2
0
 public void StartSelection(IProject selection, ConstructionPanelScript panel, City selectedCity, GUIMaster gui)
 {
     StartCoroutine(Select(selection, panel, selectedCity, gui));
 }