Ejemplo n.º 1
0
 void Awake()
 {
     if (S_PowerControl == null)
     {
         S_PowerControl = this;
     }
     else
     {
         Destroy(gameObject);
     }
 }
Ejemplo n.º 2
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();
    }
Ejemplo n.º 3
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;
     }
 }
Ejemplo n.º 4
0
 void Start()
 {
     thePowerControl    = PowerControlTutorial.S_PowerControl;
     boogieSplineWalker = GetComponent <Boogie_Spline_Walker>();
 }
Ejemplo n.º 5
0
 void Start()
 {
     theGameMaster     = GameMasterTutorial.S_GameMaster;
     theStationManager = StationManagerTutorial.S_StationManager;
     thePowerControl   = PowerControlTutorial.S_PowerControl;
 }
Ejemplo n.º 6
0
 void Start()
 {
     theGameMaster   = GameMasterTutorial.S_GameMaster;
     thePowerControl = PowerControlTutorial.S_PowerControl;
     theUIManager    = UIManagerTutorial.S_UIManager;
 }