Esempio n. 1
0
    void EnableTutorial()
    {
        if (!tutorialCamera.TutorialsEnabled())
        {
            return;
        }

        tutorialCamera.ShowTutorialText("Click glowing objects to grapple", false);

        GUIController.DisableButtons();

#if UNITY_ANDROID || UNITY_IPHONE
        //GUIController.ShowText("Tutorial", "Tap glowing objects to grapple");
#else
        //GUIController.ShowText("Tutorial", "Click glowing objects to grapple");
#endif

        GameObject.Find("Player").GetComponent <GrapplingHook>().currentTutorial = gameObject;

        //outline.enabled = true;

        GUIController.EnableImage("Tap");

        SendMessage("ActivateSlowDown");
    }
Esempio n. 2
0
    private IEnumerator ShowStartText()
    {
        yield return(new WaitForEndOfFrame());

        if (!LevelStart.started)
        {
            tutorialCamera.ShowTutorialText("Click anywhere to begin", false, "Level Start");
        }
    }
Esempio n. 3
0
    void EnableTutorial()
    {
        if (!tutorialCamera.TutorialsEnabled())
        {
            return;
        }

        tutorialCamera.ShowTutorialText("Land on objects to slide across them", false);

        //GUIController.ShowText("Tutorial", "Land on objects to slide across them");
    }
Esempio n. 4
0
    void EnableTutorial()
    {
        GUIController.DisableButtons();
        tutorialCamera.ShowTutorialText("Drag to alter your trajectory", false);
        //GUIController.ShowText("TutorialText");

        finger.enabled = true;

        //Time.timeScale = 0.0f;
        tutorialEnabled = true;

        SendMessage("ActivateSlowDown");
    }
Esempio n. 5
0
    void EnableTutorial()
    {
        if (!tutorialCamera.TutorialsEnabled())
        {
            return;
        }

        tutorialCamera.ShowTutorialText("Click again anywhere to release", false);

        GUIController.DisableButtons();

#if UNITY_ANDROID || UNITY_IPHONE
        //GUIController.ShowText("Tutorial", "Tap again anywhere to release");
#else
        //GUIController.ShowText("Tutorial", "Click again anywhere to release");
#endif

        //GUIController.EnableImage("Tap2");

        GameObject.Find("Player").GetComponent <GrapplingHook>().currentTutorial = gameObject;

        SendMessage("ActivateSlowDown");
    }