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

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

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