Beispiel #1
0
    private IEnumerator SetCurrentScenario(Scenario sc)
    {
        yield return(new WaitForSeconds(2.0f));

        Debug.Log("Setting current scenario now");
        sc.UpdateEventIndex(timeController.gameTime);
        timeController.ChangeScenarioTitle(sc.name);
        currentScenario = sc;
    }