Ejemplo n.º 1
0
 void Start()
 {
     theSelectedScenario = SelectedScenario.S_SelectedScenarioScript;
     theGameMaster       = GameMaster.S_GameMaster;
     thePowerControl     = PowerControl.S_PowerControl;
     theUIManager        = UIManager.S_UIManager;
 }
Ejemplo n.º 2
0
    void Start()
    {
        UpdatePlayerCredit();

        selectedScenarioScript = SelectedScenario.S_SelectedScenarioScript;

        availableScenario = GetComponent <AvailableScenario>();
        CreateScenarioButton();
    }
Ejemplo n.º 3
0
    void Awake()
    {
        if (S_SelectedScenarioScript != null)
        {
            Destroy(S_SelectedScenarioScript.gameObject);
        }

        S_SelectedScenarioScript = this;
        DontDestroyOnLoad(this);
    }
Ejemplo n.º 4
0
    void Start()
    {
        theSelectedScenario = SelectedScenario.S_SelectedScenarioScript;
        theStationManager   = StationManager.S_StationManager;
        theScoreManager     = ScoreManager.S_ScoreManager;
        thePowerControl     = PowerControl.S_PowerControl;
        theUIManager        = UIManager.S_UIManager;

        thePowerControl.TogglePowerLock(true);
        theStationManager.StationUpdate();
        thePowerControl.SetSpeedLimit(initialSpeedLimit);

        StartGameSection();
    }