/// <summary>
    /// Start the mini game.
    /// </summary>
    public override void StartMiniGame(bool tutorialMode = false)
    {
        this.tutorialMode = tutorialMode;

        // Choose Random Ballon
        int random = Random.Range(0, ballonColors.Length);

        screenCleaner.SetSplashTexture(random);
        mBallon.GetComponent <MeshRenderer>().material = ballonColors[random];

        // Start Moving
        MoveToTheStone();
    }
Beispiel #2
0
    /// <summary>
    /// Start the mini game.
    /// </summary>
    public override void StartMiniGame(bool tutorialMode = false)
    {
        this.tutorialMode = tutorialMode;
        glassFixed        = false;

        // Initalize Raven
        mRavenController = mRaven.GetComponent <RavenController>();
        mRavenController.StartRemote(null);

        // Initalize Helicopter
        helicopter.transform.position = mRaven.transform.position + helicopterStartingPositionOffset;
        SetHelicopterActive(true);

        // Startup Audio
        PlayStartUpSFX();

        // Helicopter flyes in
        helicopter.FlyTo(helicopterPath, HelicopterAtDestination, 10.0f, 0.2f);

        // -- brokenglass cleaner --
        bubbleDrawer.SetSplashTexture(0);

        base.StartGameLoop();
    }