Exemplo n.º 1
0
 void Awake()
 {
     if (S_GameMaster == null)
         S_GameMaster = this;
     else
         Destroy(gameObject);
 }
Exemplo n.º 2
0
    void Start()
    {
        theGameMaster     = GameMasterTutorial.S_GameMaster;
        theScoreManager   = ScoreManagerTutorial.S_ScoreManager;
        theStationManager = StationManagerTutorial.S_StationManager;
        theUIManager      = UIManagerTutorial.S_UIManager;

        loopBounds = Vector3.forward * loopRange;
    }
Exemplo n.º 3
0
    void Start()
    {
        if (!tutorial)
        {
            theGameMaster = GameMaster.S_GameMaster;
        }
        else if (tutorial)
        {
            theGameMasterTutorial = GameMasterTutorial.S_GameMaster;
        }

        stationConstraint.thisStationScene = this;
    }
Exemplo n.º 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;
     }
 }
Exemplo n.º 5
0
 void Start()
 {
     theGameMaster     = GameMasterTutorial.S_GameMaster;
     theStationManager = StationManagerTutorial.S_StationManager;
     thePowerControl   = PowerControlTutorial.S_PowerControl;
 }
Exemplo n.º 6
0
 void Start()
 {
     theGameMaster   = GameMasterTutorial.S_GameMaster;
     thePowerControl = PowerControlTutorial.S_PowerControl;
     theUIManager    = UIManagerTutorial.S_UIManager;
 }