public void StopTimeTutorial1()
 {
     onTutorial          = true;
     actualTutorialStage = TutorialStages.SHOOTTUTORIAL;
     tm.PauseGame();
     gamePaused = true;
 }
 public void StopTimeTutorial3()
 {
     onTutorial          = true;
     IsTutorial3         = true;
     actualTutorialStage = TutorialStages.TIMEWARPTUTORIAL;
     tm.PauseGame();
     gamePaused = true;
 }
 public void StopTimeTutorial2()
 {
     onTutorial          = true;
     actualTutorialStage = TutorialStages.TIMEBOMBTUTORIAL;
     tm.PauseGame();
     gamePaused = true;
     secureBomb = true;
 }
Esempio n. 4
0
    // -------------------------------------------------------------------------------

    private void Initialise(GameData gameData)
    {
        mCurrentStage = gameData.TutorialStage;
        Debug.Log("TutorialManager Start (Initialise): " + mCurrentStage);

        var homePlanetoidPlants = Universe.Instance.CurrentHomePlanetoid.Plants;

        FirstPlant = (homePlanetoidPlants != null && homePlanetoidPlants.Count > 0) ? homePlanetoidPlants[0] : FirstPlant;
    }
Esempio n. 5
0
    // -------------------------------------------------------------------------------

    public void UpdateTutorialStage(TutorialStages newStage)
    {
        SaveGameData.TutorialStage = newStage;
        Save();
    }
Esempio n. 6
0
 private void OnMapLoaded()
 {
     Stage = TutorialStages.SelectingUnits;
 }
Esempio n. 7
0
 private void OnUnitEnterTrigger(Fury.Behaviors.Unit unit, Collider other)
 {
     if (other == TowerWarning && Stage < TutorialStages.DestroyTower)
         Stage = TutorialStages.DestroyTower;
 }