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;
 }
Exemple #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;
    }
    // -------------------------------------------------------------------------------

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