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

        selectedScenarioScript = SelectedScenario.S_SelectedScenarioScript;

        availableScenario = GetComponent <AvailableScenario>();
        CreateScenarioButton();
    }
示例#3
0
    void Awake()
    {
        if (S_SelectedScenarioScript != null)
        {
            Destroy(S_SelectedScenarioScript.gameObject);
        }

        S_SelectedScenarioScript = this;
        DontDestroyOnLoad(this);
    }
示例#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();
    }