Пример #1
0
    void Start()
    {
        theGameMaster     = GameMasterTutorial.S_GameMaster;
        theScoreManager   = ScoreManagerTutorial.S_ScoreManager;
        theStationManager = StationManagerTutorial.S_StationManager;
        theUIManager      = UIManagerTutorial.S_UIManager;

        loopBounds = Vector3.forward * loopRange;
    }
Пример #2
0
 void Awake()
 {
     if (S_ScoreManager == null)
     {
         S_ScoreManager = this;
     }
     else
     {
         Destroy(gameObject);
     }
 }
Пример #3
0
    void Start()
    {
        theStationManager = StationManagerTutorial.S_StationManager;
        theScoreManager = ScoreManagerTutorial.S_ScoreManager;
        thePowerControl = PowerControlTutorial.S_PowerControl;
        theUIManager = UIManagerTutorial.S_UIManager;

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

        StartGameSection();
    }
Пример #4
0
 void Start()
 {
     if (tutorial)
     {
         theGameMasterTutorial   = GameMasterTutorial.S_GameMaster;
         theScoreManagerTutorial = ScoreManagerTutorial.S_ScoreManager;
         thePowerControlTutorial = PowerControlTutorial.S_PowerControl;
     }
     else if (!tutorial)
     {
         theGameMaster   = GameMaster.S_GameMaster;
         theScoreManager = ScoreManager.S_ScoreManager;
         thePowerControl = PowerControl.S_PowerControl;
     }
 }